Skip to content

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

Open
@Bangsadrengur

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions