.vim/compiler/vale.vim

Sun, 20 Nov 2022 20:46:37 -0600

author
Meredith Howard <mhoward@roomag.org>
date
Sun, 20 Nov 2022 20:46:37 -0600
changeset 1007
647fa5ff10a1
parent 659
f3e2c22ea809
permissions
-rw-r--r--

fix indented heredoc inline sql

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