2021-04-29 17:43:22 -07:00
|
|
|
" Vim compiler file
|
|
|
|
" Compiler: Jest
|
|
|
|
" Maintainer: Doug Kearns <dougkearns@gmail.com>
|
2024-04-04 14:49:21 -07:00
|
|
|
" Last Change: 2024 Apr 03
|
2021-04-29 17:43:22 -07:00
|
|
|
|
|
|
|
if exists("current_compiler")
|
|
|
|
finish
|
|
|
|
endif
|
|
|
|
let current_compiler = "jest"
|
|
|
|
|
|
|
|
let s:cpo_save = &cpo
|
|
|
|
set cpo&vim
|
|
|
|
|
2022-03-09 00:40:16 -07:00
|
|
|
" CompilerSet makeprg=npx\ --no-install\ jest\ --no-colors
|
2021-04-29 17:43:22 -07:00
|
|
|
|
|
|
|
CompilerSet makeprg=jest\ --no-colors
|
2022-03-09 00:40:16 -07:00
|
|
|
CompilerSet errorformat=%-A\ \ ●\ Console,
|
|
|
|
\%E\ \ ●\ %m,
|
2021-04-29 17:43:22 -07:00
|
|
|
\%Z\ %\\{4}%.%#Error:\ %f:\ %m\ (%l:%c):%\\=,
|
|
|
|
\%Z\ %\\{6}at\ %\\S%#\ (%f:%l:%c),
|
2022-03-09 00:40:16 -07:00
|
|
|
\%Z\ %\\{6}at\ %\\S%#\ %f:%l:%c,
|
2021-04-29 17:43:22 -07:00
|
|
|
\%+C\ %\\{4}%\\w%.%#,
|
|
|
|
\%+C\ %\\{4}%[-+]%.%#,
|
|
|
|
\%-C%.%#,
|
|
|
|
\%-G%.%#
|
|
|
|
|
|
|
|
let &cpo = s:cpo_save
|
|
|
|
unlet s:cpo_save
|