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:
parent
f6bd6cfd25
commit
6de870a10a
1 changed files with 1 additions and 1 deletions
|
|
@ -202,7 +202,7 @@ endf
|
||||||
|
|
||||||
" Syntastic syntax checking
|
" Syntastic syntax checking
|
||||||
fun! SyntaxCheckers_nimrod_nimrod_GetLocList()
|
fun! SyntaxCheckers_nimrod_nimrod_GetLocList()
|
||||||
let makeprg = 'nimrod check ' . s:CurrentNimrodFile()
|
let makeprg = 'nimrod check --hints:off ' . s:CurrentNimrodFile()
|
||||||
let errorformat = &errorformat
|
let errorformat = &errorformat
|
||||||
|
|
||||||
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat })
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue