vim/syntastic: show errors on EOF on the last line
[nit.git] / 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