Skip to content

Commit

Permalink
Disables hints for check command.
Browse files Browse the repository at this point in the history
Paths for babel packages being reported by the compiler are considered
errors and interfere with syntastic's :lnext and :lprevious support.
  • Loading branch information
gradha committed Dec 10, 2013
1 parent f6bd6cf commit 6de870a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/nimrod.vim
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 6de870a

Please sign in to comment.