Skip to content

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

Description

@Bangsadrengur

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions