robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
2b9d8dc87e
master
1" Vim compiler file 2" Compiler: TypeScript Runner 3" Maintainer: Doug Kearns <dougkearns@gmail.com> 4" Last Change: 2024 Apr 03 5 6if exists ( "current_compiler" ) 7finish 8endif 9let current_compiler = "node" 10 11let s: cpo_save = & cpo 12set cpo & vim 13 14" CompilerSet makeprg=npx\ ts-node 15 16CompilerSet makeprg=ts-node 17CompilerSet errorformat=%f\ %#(%l\\,%c):\ %trror\ TS%n:\ %m, 18 \%E%f:%l, 19 \%+Z%\\w%\\+Error:\ %.%#, 20 \%C%p^%\\+, 21 \%C%.%#, 22 \%-G%.%# 23 24let & cpo = s: cpo_save 25unlet s: cpo_save