Mon, 04 Dec 2017 14:44:06 -0500
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