aboutsummaryrefslogtreecommitdiffstats
path: root/after
diff options
context:
space:
mode:
Diffstat (limited to 'after')
-rw-r--r--after/compiler/typescript.vim7
1 files changed, 7 insertions, 0 deletions
diff --git a/after/compiler/typescript.vim b/after/compiler/typescript.vim
new file mode 100644
index 0000000..362fc30
--- /dev/null
+++ b/after/compiler/typescript.vim
@@ -0,0 +1,7 @@
+" Run tsc on all files. The typescript.vim plugin only operates on the current
+" file.
+execute 'CompilerSet makeprg='
+ \ . escape(g:typescript_compiler_binary, ' ')
+ \ . '\ '
+ \ . escape(g:typescript_compiler_options, ' ')
+ \ . '\ $*'