robin/laufey
git clone https://git.robinwobin.dev/robin/laufey
0547347e72
master
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' ) 8finish 9endif 10let b: current_compiler = 'jq' 11 12let s: save_cpoptions = & cpoptions 13set cpoptions & vim 14 15if has ( 'unix' ) 16CompilerSet makeprg=jq\ -f\ %:S\ /dev/null 17else 18CompilerSet 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