From 0244e228faf6ee71750cbca3bdcd18411a927d22 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Sun, 11 Sep 2016 13:24:17 +0200 Subject: Update --- compiler/typescript.vim | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'compiler/typescript.vim') 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 +endif + let &l:makeprg = g:typescript_compiler_binary . ' ' . g:typescript_compiler_options . ' $* %' CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m -- cgit v1.2.3