.vim/compiler/vale.vim

Fri, 28 Jan 2022 14:41:33 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Fri, 28 Jan 2022 14:41:33 -0600
changeset 974
be3938b95ee6
parent 659
f3e2c22ea809
permissions
-rw-r--r--

prefer solargraph over typeprof

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