view runtime/compiler/jq.vim @ 35188:965c65610164 default tip

Added tag v9.1.0414 for changeset de9a4c63e943711d1cd7e9ac50fb0baf4cbbf33c
author Christian Brabandt <cb@256bit.org>
date Thu, 16 May 2024 21:00:48 +0200
parents f8185637a051
children
line wrap: on
line source

" Vim compiler file
" Compiler:	jq
" Maintainer:	Vito <vito.blog@gmail.com>
" Last Change:	2024 Apr 17
" Upstream: https://github.com/vito-c/jq.vim

if exists('b:current_compiler')
  finish
endif
let b:current_compiler = 'jq'

let s:save_cpoptions = &cpoptions
set cpoptions&vim

if has('unix')
  CompilerSet makeprg=jq\ -f\ %:S\ /dev/null
else
  CompilerSet makeprg=jq\ -f\ %:S\ nul
endif
CompilerSet errorformat=%E%m\ at\ \\<%o\\>\\,\ line\ %l:,
            \%Z,
            \%-G%.%#

let &cpoptions = s:save_cpoptions
unlet s:save_cpoptions