mirror of
https://github.com/gryf/.vim.git
synced 2025-12-17 19:40:29 +01:00
15 lines
369 B
VimL
15 lines
369 B
VimL
" Vim compiler file
|
|
" Compiler: Javascript Lint
|
|
if exists("current_compiler")
|
|
finish
|
|
endif
|
|
|
|
let current_compiler = "jsl"
|
|
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
|
|
command -nargs=* CompilerSet setlocal <args>
|
|
endif
|
|
|
|
CompilerSet makeprg=jsl\ -nologo\ -nofilelisting\ -nosummary\ -nocontext\ -process\ %
|
|
CompilerSet errorformat=%f(%l):\ %m
|
|
|