We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 4dc79bd + dbe450d commit 7843f89Copy full SHA for 7843f89
compiler/typescript.vim
@@ -15,6 +15,16 @@ if exists(":CompilerSet") != 2
15
command! -nargs=* CompilerSet setlocal <args>
16
endif
17
18
-let &l:makeprg = g:typescript_compiler_binary . ' ' . g:typescript_compiler_options . ' $* %'
+let s:cpo_save = &cpo
19
+set cpo-=C
20
+
21
+execute 'CompilerSet makeprg='
22
+ \ . escape(g:typescript_compiler_binary, ' ')
23
+ \ . '\ '
24
+ \ . escape(g:typescript_compiler_options, ' ')
25
+ \ . '\ $*\ %'
26
27
CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m
28
29
+let &cpo = s:cpo_save
30
+unlet s:cpo_save
0 commit comments