1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-18 15:57:09 +01:00
vim/runtime/compiler/tsc.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
443 B
VimL
Raw Permalink Normal View History

2020-08-15 18:55:18 +02:00
" Vim compiler file
" Compiler: TypeScript Compiler
" Maintainer: Doug Kearns <dougkearns@gmail.com>
" Last Change: 2024 Apr 03
2020-08-15 18:55:18 +02:00
if exists("current_compiler")
finish
endif
let current_compiler = "tsc"
let s:cpo_save = &cpo
set cpo&vim
" CompilerSet makeprg=npx\ tsc
CompilerSet makeprg=tsc
CompilerSet errorformat=%f\ %#(%l\\,%c):\ %trror\ TS%n:\ %m,
\%trror\ TS%n:\ %m,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save