sponsor Vim development Vim logo Vim Book Ad

compiler/jsl.vim : Compiler plugin for JavaScript Lint.

 script karma  Rating 12/6, Downloaded by 1606  Comments, bugs, improvements  Vim wiki

created by
Ingo Karkat
script type
Compiler plugin for JavaScript Lint (http://www.javascriptlint.com), an (open
source) checker for JavaScript syntax and coding techniques based on the Mozilla
Firefox JavaScript engine.

This is similar to vimscript #2578 and vimscript #2729, but this script uses
Vim's compiler infrastructure (so checks are triggered by the :make command),
making its use consistent with syntax checkers for other languages.
install details
JavaScript Lint must be installed and available through $PATH.

Put the script into your user or system Vim compiler directory
(e.g. ~/.vim/compiler).

To automatically select this compiler for all JavaScript files, put the
following snippet into ~/.vim/after/ftplugin/javascript.vim:

" Set JavaScript Lint as compiler.
if ! exists('b:current_compiler')
    compiler jsl

The optional jsl configuration must either reside in this script's directory as
'jsl.conf', or its filespec can be specified in g:jsl_config.  

rate this script Life Changing Helpful Unfulfilling 
script versions (upload new version)

Click on the package to download.

package script version date Vim version user release notes
jsl.vim 1.00.003 2009-05-11 6.0 Ingo Karkat Initial upload (2) - Added license and modeline.
ip used for rating:

If you have questions or remarks about this site, visit the vimonline development pages. Please use this site responsibly.
Questions about Vim should go to the maillist. Help Bram help Uganda.
OSDN.net Logo