add vale compiler plugin

Mon, 04 Dec 2017 14:44:06 -0500

author
Meredith Howard <mhoward@roomag.org>
date
Mon, 04 Dec 2017 14:44:06 -0500
changeset 659
f3e2c22ea809
parent 658
69ed96c80ed0
child 660
0c78da269df5

add vale compiler plugin

.vim/compiler/vale.vim file | annotate | diff | comparison | revisions
new file mode 100644
--- /dev/null
+++ b/.vim/compiler/vale.vim
@@ -0,0 +1,16 @@
+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