Vim Tips Wiki


1,624pages on
this wiki
Add New Page

Use this page to discuss script 1491 JavaScript: better JavaScript syntax highlighting support

  • Add constructive comments, bug reports, or discuss improvements (see the guideline).
  • Do not document the script here (the author should do that on
  • This page may be out of date: check the script's page above, and its release notes.

Source available on GithubEdit

I put the source for this on github:


Hi, please how do I install this?

Thanks for helping out

As noted on the script page on, simply put it in the appropriate directory. On Unix, that's ~/.vim/syntax. On Windows, it's usually something like C:\Documents and Settings\johndoe\vimfiles\syntax, where "C:\Documents and Settings\johndoe" refers to your $HOME location, which you can ask Vim for with ":echo $HOME". The other suggested location of $VIMRUNTIME\syntax will work also but would be system-wide and risks being overwritten when you upgrade Vim. --Fritzophrenic (talk) 19:52, September 27, 2012 (UTC)

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

Also on Fandom

Random Wiki