if exists('g:syntastic_nitg')
let s:nitg = g:syntastic_nitg
else
- let s:nitg = "nitg"
+ let s:nitg = "nitpick"
endif
if !executable(s:nitg)
if exists('g:syntastic_nitg')
- echo "Syntastic for Nit error: Custom nitg cannot be found at: " . g:syntastic_nitg
+ echo "Syntastic for Nit error: Custom tool cannot be found at: " . g:syntastic_nitg
endif
finish
endif
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')