Steve M Steve M - 2 days ago 5
Javascript Question

Javascript syntax highlighting in vim

Has anyone else found VIM's syntax highlighting of Javascript sub-optimal? I'm finding that sometimes I need to scroll around in order to get the syntax highlighting adjusted, as sometimes it mysteriously drops all highlighting.

Are there any work-arounds or ways to fix this? I'm using vim 7.1.

Answer

You might like to try this improved Javascript syntax highlighter rather than the one that ships with VIMRUNTIME.

Comments