.vim/compiler/vale.vim

Thu, 16 Aug 2018 23:35:28 -0400

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 16 Aug 2018 23:35:28 -0400
changeset 716
7ea1f4410682
parent 659
f3e2c22ea809
permissions
-rw-r--r--

no more <cr> weirdness

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