1" Vim compiler file
2" Compiler:    Spectral for YAML
3" Maintainer:  Romain Lafourcade <[email protected]>
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
18