From: Alexis Laferrière Date: Sun, 30 Nov 2014 16:30:00 +0000 (-0500) Subject: vim/syntastic: show errors on EOF on the last line X-Git-Tag: v0.7~91^2 X-Git-Url: http://nitlanguage.org vim/syntastic: show errors on EOF on the last line Requires to update syntastic, uses the `guards` function introduced in september 2014. Signed-off-by: Alexis Laferrière --- diff --git a/misc/vim/syntax_checkers/nit/nitg.vim b/misc/vim/syntax_checkers/nit/nitg.vim index b74e269..af8d698 100644 --- a/misc/vim/syntax_checkers/nit/nitg.vim +++ b/misc/vim/syntax_checkers/nit/nitg.vim @@ -83,7 +83,7 @@ function! SyntaxCheckers_nit_nitg_GetLocList() endfor endfor - let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat':errorformat }) + let loclist = SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'postprocess': ['guards'] }) for e in loclist if e['type'] ==? 'd' " is a documentation warning