1 January 2007
VIM Plugin for JavascriptLint

I’ve put together a vim compiler plugin to provide quick access to JavaScriptLint output. It will identify file, line and column of warnings and errors generated by jsl.

Requirements:

  • vim 7+
  • jsl in path

Installation:

  • Download vimball - jsl.vba
  • Open vimball - vim jsl.vba
  • Verify contents - :VimballList
    Should see:
    would extract <plugin/jsl.vim>: 1 lines
    would extract <compiler/jsl.vim>: 22 lines
    
  • Install - :so %

Usage:

  • Open file - vim jsl-test.js
  • Run JavaScriptLit - :make
  • View output - :cope

Feedback welcome…

← Read More