codekingpro/portable-devtools
114k
1" Vim compiler file2" Compiler: TypeScript Compiler3" Maintainer: Doug Kearns <dougkearns@gmail.com>4" Last Change: 2024 Apr 035" 2025 Mar 11 by The Vim Project (add comment for Dispatch, add tsc_makeprg variable)6 7if exists("current_compiler")8 finish9endif10let current_compiler = "tsc"11 12let s:cpo_save = &cpo13set cpo&vim14 15" CompilerSet makeprg=tsc16" CompilerSet makeprg=npx\ tsc17execute $'CompilerSet makeprg={escape(get(b:, 'tsc_makeprg', get(g:, 'tsc_makeprg', 'tsc')), ' \|"')}'18CompilerSet errorformat=%f\ %#(%l\\,%c):\ %trror\ TS%n:\ %m,19 \%trror\ TS%n:\ %m,20 \%-G%.%#21 22let &cpo = s:cpo_save23unlet s:cpo_save24 