robin/laufey

git clone https://git.robinwobin.dev/robin/laufey

Christian Clasonvim-patch:79952b9c67740547347e72

master
544 B25 linesraw
1" Vim compiler file
2" Compiler:	jq
3" Maintainer:	Vito <vito.blog@gmail.com>
4" Last Change:	2024 Apr 17
5" Upstream: https://github.com/vito-c/jq.vim
6
7if exists('b:current_compiler')
8  finish
9endif
10let b:current_compiler = 'jq'
11
12let s:save_cpoptions = &cpoptions
13set cpoptions&vim
14
15if has('unix')
16  CompilerSet makeprg=jq\ -f\ %:S\ /dev/null
17else
18  CompilerSet makeprg=jq\ -f\ %:S\ nul
19endif
20CompilerSet errorformat=%E%m\ at\ \\<%o\\>\\,\ line\ %l:,
21            \%Z,
22            \%-G%.%#
23
24let &cpoptions = s:save_cpoptions
25unlet s:save_cpoptions