.vim/compiler/vale.vim

Sat, 08 Apr 2023 18:06:43 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Sat, 08 Apr 2023 18:06:43 -0400
changeset 1104
90aa391abc44
parent 659
f3e2c22ea809
permissions
-rw-r--r--

include needs to appear before a host match (sections actually ignore indents)

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

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

let s:savecpo = &cpo
set cpo&vim

CompilerSet makeprg=vale\ --output=line\ %

let &cpo = s:savecpo
unlet s:savecpo

mercurial