Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ES6 template literals and JavascriptFold() combined brake syntax highlighting for rest of file #67

Open
Bangsadrengur opened this issue Jul 2, 2016 · 1 comment
Labels

Comments

@Bangsadrengur
Copy link

I've just recently started using ES6 syntax and template literals are breaking syntax highlighting for the rest of file when I have the following line in my .vimrc
au FileType javascript call JavaScriptFold()

Disabling folding removes the problem.

When folding is enabled:
bad-highlighting

When folding is disabled:
good-highlighting

@Bangsadrengur
Copy link
Author

Minor error in my demo code, missing parenthesis in proceess.cwd(). I does not affect the highlighting though.

@jelera jelera added the Bug label Jul 6, 2016
lo1tuma added a commit to lo1tuma/dotfiles that referenced this issue Oct 4, 2016
Support for template strings is broken in jelera/vim-javascript-syntax,
see jelera/vim-javascript-syntax#67
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants