From 4071c094c69ba8ef716f8048cac8415fc7d96e26 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Tue, 9 Dec 2014 23:09:20 +0100 Subject: Update --- compiler/typescript.vim | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'compiler/typescript.vim') diff --git a/compiler/typescript.vim b/compiler/typescript.vim index 74f79d11..e81ebd66 100644 --- a/compiler/typescript.vim +++ b/compiler/typescript.vim @@ -3,6 +3,11 @@ if exists("current_compiler") endif let current_compiler = "typescript" -CompilerSet makeprg=tsc\ $*\ % +if !exists("g:typescript_compiler_options") + let g:typescript_compiler_options = "" +endif + + +let &l:makeprg='tsc' . g:typescript_compiler_options . ' $* %' CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m -- cgit v1.2.3