.vim/compiler/vale.vim

Thu, 08 Jul 2021 12:58:18 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Thu, 08 Jul 2021 12:58:18 -0500
changeset 922
c43cb588aa41
parent 659
f3e2c22ea809
permissions
-rw-r--r--

gofumpt is a static dep of gopls, no need for the note to self

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