Disables hints for check command.

Paths for babel packages being reported by the compiler are considered
errors and interfere with syntastic's :lnext and :lprevious support.
This commit is contained in:
Grzegorz Adam Hankiewicz 2013-12-10 11:09:14 +01:00
commit 6de870a10a

View file

@ -202,7 +202,7 @@ endf
" Syntastic syntax checking
fun! SyntaxCheckers_nimrod_nimrod_GetLocList()
let makeprg = 'nimrod check ' . s:CurrentNimrodFile()
let makeprg = 'nimrod check --hints:off ' . s:CurrentNimrodFile()
let errorformat = &errorformat
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })