…g well with perforce and read only files
…d via 'cmd.exe /c'
Check for JS_CMD (like on other platforms). Check for node. Change the s:cmd format to do cd /d (change drive as well as directory) and add quotes around the entire expression. (Without quotes the change directory is run on one process and the interpreter on another).
Thanks to mrkschan (KS Chan) for the tip.
If the jslint plugin is installed via pathogen (normally in ~/.vim/bundle/jslint) then the jslint ruby script won't find the runjslint scripts. This commit adds a check for a directory bundle/jslint under the vim configuration folder and sets it as the plugin root if it exists.
…t may not work in some shells.