.vim/compiler/vale.vim

Fri, 16 Oct 2020 12:17:45 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 16 Oct 2020 12:17:45 -0500
changeset 888
44d34f2382f6
parent 659
f3e2c22ea809
permissions
-rw-r--r--

PlugUpgrade

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