view runtime/compiler/spectral.vim @ 33214:39bc126cc890 v9.0.1884

patch 9.0.1884: Wrong order of arguments for error messages Commit: https://github.com/vim/vim/commit/1bd2cb11694690a77e4141bce2e34d9dfb882f1c Author: Christ van Willegen <cvwillegen@gmail.com> Date: Fri Sep 8 19:17:09 2023 +0200 patch 9.0.1884: Wrong order of arguments for error messages Problem: Wrong order of arguments for error messages Solution: Reverse order or arguments for e_aptypes_is_null_nr_str closes: #13051 Signed-off-by: Christian Brabandt <cb@256bit.org> Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
author Christian Brabandt <cb@256bit.org>
date Fri, 08 Sep 2023 19:30:05 +0200
parents bdda48f01a68
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:    Spectral for YAML
" Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2021 July 21

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

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

CompilerSet makeprg=spectral\ lint\ %\ -f\ text
CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m