WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

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

@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