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 vim.org).
- This page may be out of date: check the script's vim.org page above, and its release notes.
Source available on Github
Edit
I put the source for this on github: https://github.com/serverhorror/javascript.vim
Comments
Edit
Hi, please how do I install this?
Thanks for helping out
- As noted on the script page on vim.org, 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)