.vim/compiler/vale.vim

Fri, 18 Oct 2019 14:05:27 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 18 Oct 2019 14:05:27 -0400
changeset 803
ffc6f9c140cd
parent 659
f3e2c22ea809
permissions
-rw-r--r--

Move this Ag stuff into a function, remove flickers

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