made the pack completely portable and wrote relevent bat files to go with it
This commit is contained in:
14
gitportable/usr/share/vim/vim91/compiler/spectral.vim
Normal file
14
gitportable/usr/share/vim/vim91/compiler/spectral.vim
Normal file
@@ -0,0 +1,14 @@
|
||||
" Vim compiler file
|
||||
" Compiler: Spectral for YAML
|
||||
" Maintainer: Romain Lafourcade <romainlafourcade@gmail.com>
|
||||
" Last Change: 2021 July 21
|
||||
" 2024 Apr 03 by The Vim Project (removed :CompilerSet definition)
|
||||
|
||||
if exists("current_compiler")
|
||||
finish
|
||||
endif
|
||||
let current_compiler = "spectral"
|
||||
|
||||
CompilerSet makeprg=spectral\ lint\ %\ -f\ text
|
||||
CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m
|
||||
|
||||
Reference in New Issue
Block a user