" 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 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