commit be4efda00c3ebd3cb8992944c37038b367000da3 parent 844b48614c9a786eb7a2a8120001d1cc499332b2 Author: Alex Balgavy <a.balgavy@gmail.com> Date: Mon, 27 Jan 2020 14:49:37 +0100 vim: a compiler that uses proselint Former-commit-id: 24645a16a21dcf0c2092662174432583e8c78336 Diffstat:
A | vim/compiler/proselint.vim | | | 9 | +++++++++ |
1 file changed, 9 insertions(+), 0 deletions(-)
diff --git a/vim/compiler/proselint.vim b/vim/compiler/proselint.vim @@ -0,0 +1,9 @@ +if exists("current_compiler") + finish +endif +let current_compiler = "proselint" +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal <args> +endif +CompilerSet errorformat=%f:%l:%c:\ %m +CompilerSet makeprg=proselint\ %