summaryrefslogtreecommitdiffstats
path: root/compiler/typescript.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2014-12-09 23:09:20 +0100
committerAdam Stankiewicz <sheerun@sher.pl>2014-12-09 23:09:20 +0100
commit4071c094c69ba8ef716f8048cac8415fc7d96e26 (patch)
treeccf17bae58ed7655d62a7bce6104f31480976dc6 /compiler/typescript.vim
parent617b01a5b6aa3cadb25b2ff8639e330cfc6cf3c1 (diff)
downloadvim-polyglot-4071c094c69ba8ef716f8048cac8415fc7d96e26.tar.gz
vim-polyglot-4071c094c69ba8ef716f8048cac8415fc7d96e26.zip
Updatev1.10.4
Diffstat (limited to 'compiler/typescript.vim')
-rw-r--r--compiler/typescript.vim7
1 files changed, 6 insertions, 1 deletions
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