Mercurial > vim
view runtime/compiler/jsonlint.vim @ 31041:ce04a773d598 v9.0.0855
patch 9.0.0855: comment not located above the code it refers to
Commit: https://github.com/vim/vim/commit/09a93e3e66689c691a00fce25e4ce310d81edaee
Author: zeertzjq <zeertzjq@outlook.com>
Date: Thu Nov 10 17:05:28 2022 +0000
patch 9.0.0855: comment not located above the code it refers to
Problem: Comment not located above the code it refers to.
Solution: Move the comment. (closes https://github.com/vim/vim/issues/11527)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Thu, 10 Nov 2022 18: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