diff --git a/.vim/compiler/vale.vim b/.vim/compiler/vale.vim 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 +endif + +let s:savecpo = &cpo +set cpo&vim + +CompilerSet makeprg=vale\ --output=line\ % + +let &cpo = s:savecpo +unlet s:savecpo