.vim/compiler/vale.vim

Sun, 12 Feb 2023 14:42:31 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 12 Feb 2023 14:42:31 -0600
changeset 1014
b57969db48db
parent 659
f3e2c22ea809
permissions
-rw-r--r--

start nvim config

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