You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

22 lines
396 B
VimL

" Vim compiler file
" Language: JSX
" Maintainer:
if exists("current_compiler")
finish
endif
let current_compiler = "jsx"
if exists(":CompilerSet") != 2 " older Vim always used :setlocal
command -nargs=* CompilerSet setlocal <args>
endif
let s:cpo_save = &cpo
set cpo&vim
CompilerSet makeprg=jsx\ --test\ %
CompilerSet errorformat=[%f:%l:%c]\ %m
let &cpo = s:cpo_save
unlet s:cpo_save