vim: activate -W for syntactic
authorJean Privat <jean@pryen.org>
Mon, 22 Sep 2014 13:55:56 +0000 (09:55 -0400)
committerJean Privat <jean@pryen.org>
Mon, 22 Sep 2014 15:28:42 +0000 (11:28 -0400)
Signed-off-by: Jean Privat <jean@pryen.org>

misc/vim/syntax_checkers/nit/nitg.vim

index 586b151..22494b7 100644 (file)
@@ -38,7 +38,7 @@ function! SyntaxCheckers_nit_nitg_IsAvailable()
 endfunction
 
 function! SyntaxCheckers_nit_nitg_GetLocList()
-       let makeprg = s:nitg . " --no-color --only-metamodel "
+       let makeprg = s:nitg . " --no-color --only-metamodel -W "
 
        " custom NIT_DIR
        if exists('g:syntastic_nit_dir')