spectral.vim 392 B

123456789101112131415
  1. " Vim compiler file
  2. " Compiler: Spectral for YAML
  3. " Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
  4. " Last Change: 2021 July 21
  5. " 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
  6. if exists("current_compiler")
  7. finish
  8. endif
  9. let current_compiler = "spectral"
  10. CompilerSet makeprg=spectral\ lint\ %\ -f\ text
  11. CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m