1
0
Fork 0
mirror of https://github.com/vim/vim synced 2025-03-21 17:25:11 +01:00
vim/runtime/compiler/jest.vim

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

29 lines
674 B
VimL
Raw Normal View History

2020-08-15 18:55:18 +02:00
" Vim compiler file
" Compiler: Jest
" 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 = "jest"
let s:cpo_save = &cpo
set cpo&vim
2022-03-08 21:35:07 +00:00
" CompilerSet makeprg=npx\ --no-install\ jest\ --no-colors
2020-08-15 18:55:18 +02:00
CompilerSet makeprg=jest\ --no-colors
2022-03-08 21:35:07 +00:00
CompilerSet errorformat=%-A\ \ ●\ Console,
\%E\ \ ●\ %m,
2020-08-15 18:55:18 +02:00
\%Z\ %\\{4}%.%#Error:\ %f:\ %m\ (%l:%c):%\\=,
\%Z\ %\\{6}at\ %\\S%#\ (%f:%l:%c),
2022-03-08 21:35:07 +00:00
\%Z\ %\\{6}at\ %\\S%#\ %f:%l:%c,
2020-08-15 18:55:18 +02:00
\%+C\ %\\{4}%\\w%.%#,
\%+C\ %\\{4}%[-+]%.%#,
\%-C%.%#,
\%-G%.%#
let &cpo = s:cpo_save
unlet s:cpo_save