diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/typescript.vim | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/typescript.vim b/compiler/typescript.vim index 57e1437a..b4137943 100644 --- a/compiler/typescript.vim +++ b/compiler/typescript.vim @@ -13,6 +13,10 @@ if !exists("g:typescript_compiler_options") let g:typescript_compiler_options = "" endif +if exists(":CompilerSet") != 2 + command! -nargs=* CompilerSet setlocal <args> +endif + let &l:makeprg = g:typescript_compiler_binary . ' ' . g:typescript_compiler_options . ' $* %' CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m |