view runtime/compiler/jsonlint.vim @ 29694:cb4ddbe3caf3 v9.0.0187

patch 9.0.0187: command line height changes when maximizing window height Commit: https://github.com/vim/vim/commit/96bde99bf890acd9952863a02c1d15edca2000e1 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Aug 10 17:23:12 2022 +0100 patch 9.0.0187: command line height changes when maximizing window height Problem: Command line height changes when maximizing window height. Solution: Do not change the command line height. (closes https://github.com/vim/vim/issues/10885)
author Bram Moolenaar <Bram@vim.org>
date Wed, 10 Aug 2022 18:30:03 +0200
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