/usr/share/vim/vim82/compiler
Edit: /usr/share/vim/vim82/compiler/spectral.vim (411B)
" Vim compiler file
" Compiler: Spectral for YAML
" Maintainer: Romain Lafourcade
" Last Change: 2021 July 21
if exists("current_compiler")
finish
endif
let current_compiler = "spectral"
if exists(":CompilerSet") != 2
command -nargs=* CompilerSet setlocal
endif
CompilerSet makeprg=spectral\ lint\ %\ -f\ text
CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m