summaryrefslogtreecommitdiffstats
path: root/compiler/typescript.vim
diff options
context:
space:
mode:
authorAdam Stankiewicz <sheerun@sher.pl>2013-09-26 12:41:08 +0200
committerAdam Stankiewicz <sheerun@sher.pl>2013-09-26 12:41:08 +0200
commitd6710f1b578ee233e92d1810fdb3e5c9fba651f7 (patch)
tree4443dbf4cb0057f8725206be776121de81b0b81a /compiler/typescript.vim
parent0db9bdbfd6573b535c19d4695ebc528113133afa (diff)
downloadvim-polyglot-d6710f1b578ee233e92d1810fdb3e5c9fba651f7.tar.gz
vim-polyglot-d6710f1b578ee233e92d1810fdb3e5c9fba651f7.zip
Add TypeScript support
Diffstat (limited to 'compiler/typescript.vim')
-rw-r--r--compiler/typescript.vim8
1 files changed, 8 insertions, 0 deletions
diff --git a/compiler/typescript.vim b/compiler/typescript.vim
new file mode 100644
index 00000000..74f79d11
--- /dev/null
+++ b/compiler/typescript.vim
@@ -0,0 +1,8 @@
+if exists("current_compiler")
+ finish
+endif
+let current_compiler = "typescript"
+
+CompilerSet makeprg=tsc\ $*\ %
+
+CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m