From 6745c49110838db9ac39e85bbcf690b40bc20f83 Mon Sep 17 00:00:00 2001 From: Adam Stankiewicz Date: Fri, 23 Jan 2015 21:09:23 +0100 Subject: Update all packages --- compiler/typescript.vim | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'compiler/typescript.vim') diff --git a/compiler/typescript.vim b/compiler/typescript.vim index e81ebd66..7833e005 100644 --- a/compiler/typescript.vim +++ b/compiler/typescript.vim @@ -3,11 +3,14 @@ if exists("current_compiler") endif let current_compiler = "typescript" +if !exists("g:typescript_compiler_binary") + let g:typescript_compiler_binary = "tsc" +endif + if !exists("g:typescript_compiler_options") let g:typescript_compiler_options = "" endif - -let &l:makeprg='tsc' . g:typescript_compiler_options . ' $* %' +let &l:makeprg = g:typescript_compiler_binary . ' ' . g:typescript_compiler_options . ' $* %' CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m -- cgit v1.2.3