neovim

Neovim text editor
git clone https://git.dasho.dev/neovim.git
Log | Files | Refs | README

spectral.vim (392B)


      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 
      7 if exists("current_compiler")
      8    finish
      9 endif
     10 let current_compiler = "spectral"
     11 
     12 CompilerSet makeprg=spectral\ lint\ %\ -f\ text
     13 CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m