blob: bd13c51f4353d96383dcfee6c6ad7bbbbe5b8226 [file] [log] [blame]
Bram Moolenaar53f7fcc2021-07-28 20:10:16 +02001" Vim compiler file
2" Compiler: Spectral for YAML
3" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
4" Last Change: 2021 July 21
5
6if exists("current_compiler")
7 finish
8endif
9let current_compiler = "spectral"
10
11if exists(":CompilerSet") != 2
12 command -nargs=* CompilerSet setlocal <args>
13endif
14
15CompilerSet makeprg=spectral\ lint\ %\ -f\ text
16CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m
17