.vim/compiler/vale.vim@b0a0ba3240b5
.vim/compiler/vale.vim
Wed, 25 Sep 2024 15:03:13 -0500
- author
- Meredith Howard <mhoward@roomag.org>
- date
- Wed, 25 Sep 2024 15:03:13 -0500
- changeset 1179
- b0a0ba3240b5
- parent 659
-
f3e2c22ea809
- permissions
- -rw-r--r--
No LSP autostart when read-only
I think nvim actually threw out 'view' argc detection, I just use -R and alias
view to it.
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