diff options
author | Adam Stankiewicz <sheerun@sher.pl> | 2016-09-11 13:24:17 +0200 |
---|---|---|
committer | Adam Stankiewicz <sheerun@sher.pl> | 2016-09-11 13:24:17 +0200 |
commit | 0244e228faf6ee71750cbca3bdcd18411a927d22 (patch) | |
tree | a72e5c9839ea593f6edc23f7f0e637e0a4a89413 /compiler/typescript.vim | |
parent | ab61d2ac8eafc9c10097577736602da48ec568ca (diff) | |
download | vim-polyglot-0244e228faf6ee71750cbca3bdcd18411a927d22.tar.gz vim-polyglot-0244e228faf6ee71750cbca3bdcd18411a927d22.zip |
Update
Diffstat (limited to 'compiler/typescript.vim')
-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 |