.vim/compiler/vale.vim

Wed, 14 Feb 2018 12:20:57 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Wed, 14 Feb 2018 12:20:57 -0500
changeset 676
1b5b084bccbb
parent 659
f3e2c22ea809
permissions
-rw-r--r--

add Autofetch

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