vim/syntastic: show errors on EOF on the last line
authorAlexis Laferrière <alexis.laf@xymus.net>
Sun, 30 Nov 2014 16:30:00 +0000 (11:30 -0500)
committerAlexis Laferrière <alexis.laf@xymus.net>
Sun, 30 Nov 2014 16:33:12 +0000 (11:33 -0500)
Requires to update syntastic, uses the `guards` function introduced in
september 2014.

Signed-off-by: Alexis Laferrière <alexis.laf@xymus.net>

misc/vim/syntax_checkers/nit/nitg.vim

index b74e269..af8d698 100644 (file)
@@ -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