commit 1c8cd043c8bbd6de691cd1565878acb078de81fe parent 5f5afb586c78452c11fe31d615f31b595f93fced Author: Alex Balgavy <alex@balgavy.eu> Date: Tue, 9 Aug 2022 23:54:03 +0200 vim: compiler for academic-writing-check Diffstat:
A | vim/compiler/academic-writing-check.vim | | | 10 | ++++++++++ |
1 file changed, 10 insertions(+), 0 deletions(-)
diff --git a/vim/compiler/academic-writing-check.vim b/vim/compiler/academic-writing-check.vim @@ -0,0 +1,10 @@ + +if exists("g:current_compiler") + finish +endif +let g:current_compiler = "academic-writing-check" +if exists(":CompilerSet") != 2 " older Vim always used :setlocal + command -nargs=* CompilerSet setlocal <args> +endif +CompilerSet makeprg=academic-writing-check\ -v\ % +CompilerSet errorformat=%E%f:%l:\ %m