.vim/compiler/vale.vim

Mon, 16 Sep 2019 21:36:29 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 16 Sep 2019 21:36:29 -0400
changeset 788
f8da8d4ff16a
parent 659
f3e2c22ea809
permissions
-rw-r--r--

use shfmt if available

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