Mercurial > vim
view runtime/compiler/jsonlint.vim @ 27803:9824bd8b05df
Added tag v8.2.4427 for changeset 9b01fea87065b8b2a899a86e4f9f885fb7ff963c
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 20 Feb 2022 20:15:04 +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