view runtime/compiler/spectral.vim @ 32691:8fe1e8750883 v9.0.1676

patch 9.0.1676: warning for buffer in use when exiting early Commit: https://github.com/vim/vim/commit/16abd997c99b1a40fb0ba54889ce0cf44d7585b4 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jul 8 00:54:06 2023 +0100 patch 9.0.1676: warning for buffer in use when exiting early Problem: Warning for buffer in use when exiting early. Solution: Change file names to be able to see what buffer is in use when exiting.
author Bram Moolenaar <Bram@vim.org>
date Sat, 08 Jul 2023 02:00:03 +0200
parents bdda48f01a68
children e1df51f68736
line wrap: on
line source

" Vim compiler file
" Compiler:    Spectral for YAML
" Maintainer:  Romain Lafourcade <romainlafourcade@gmail.com>
" Last Change: 2021 July 21

if exists("current_compiler")
    finish
endif
let current_compiler = "spectral"

if exists(":CompilerSet") != 2
    command -nargs=* CompilerSet setlocal <args>
endif

CompilerSet makeprg=spectral\ lint\ %\ -f\ text
CompilerSet errorformat=%f:%l:%c\ %t%.%\\{-}\ %m