summaryrefslogtreecommitdiffstats
path: root/compiler/typescript.vim
blob: 7833e005bfae033b50a35501a8771f54ddb695f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
if exists("current_compiler")
  finish
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 = g:typescript_compiler_binary . ' ' . g:typescript_compiler_options . ' $*  %'

CompilerSet errorformat=%+A\ %#%f\ %#(%l\\\,%c):\ %m,%C%m