vim-polyglot/compiler/typescript.vim

17 lines
421 B
VimL
Raw Normal View History

2013-09-26 12:41:08 +02:00
if exists("current_compiler")
finish
endif
let current_compiler = "typescript"
2015-01-23 21:09:23 +01:00
if !exists("g:typescript_compiler_binary")
let g:typescript_compiler_binary = "tsc"
endif
2014-12-09 23:09:20 +01:00
if !exists("g:typescript_compiler_options")
let g:typescript_compiler_options = ""
endif
2015-01-23 21:09:23 +01:00
let &l:makeprg = g:typescript_compiler_binary . ' ' . g:typescript_compiler_options . ' $* %'
2013-09-26 12:41:08 +02:00
CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m