view runtime/compiler/jsonlint.vim @ 31024:ce82378c6a47 v9.0.0847

patch 9.0.0847: CI: not totally clear what MS-Windows version is used Commit: https://github.com/vim/vim/commit/80613d64e69ccdac3dbf4eb06d55b2cf1218b819 Author: K.Takata <kentkt@csc.jp> Date: Wed Nov 9 16:12:47 2022 +0000 patch 9.0.0847: CI: not totally clear what MS-Windows version is used Problem: CI: not totally clear what MS-Windows version is used. Solution: Show the Windows version. (Ken Takata, closes https://github.com/vim/vim/issues/11524)
author Bram Moolenaar <Bram@vim.org>
date Wed, 09 Nov 2022 17:15:05 +0100
parents 0db0640e16e0
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:	JSON Lint
" Maintainer:	Doug Kearns <dougkearns@gmail.com>
" Last Change:	2019 Jul 10

if exists("current_compiler")
  finish
endif
let current_compiler = "jsonlint"

if exists(":CompilerSet") != 2		" older Vim always used :setlocal
  command -nargs=* CompilerSet setlocal <args>
endif

let s:cpo_save = &cpo
set cpo&vim

" CompilerSet makeprg=npx\ jsonlint\ --compact\ --quiet

CompilerSet makeprg=jsonlint\ --compact\ --quiet
CompilerSet errorformat=%f:\ line\ %l\\,\ col\ %c\\,\ found:\ %m,
		       \%-G%.%#

let &cpo = s:cpo_save
unlet s:cpo_save