.vim/compiler/vale.vim

Mon, 21 Feb 2022 21:00:21 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 21 Feb 2022 21:00:21 -0600
changeset 981
c6daeefb30bf
parent 659
f3e2c22ea809
permissions
-rw-r--r--

Fix terminal breakage with lsp

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