Merge pull request #570 from brianpeiris/patch-1

Add support for JSHint's secondary error format
This commit is contained in:
Martin Grenfell 2013-03-21 01:31:38 -07:00
commit 44be5f391f

View File

@ -30,7 +30,7 @@ function! SyntaxCheckers_javascript_jshint_GetLocList()
\ 'post_args': ' --verbose ' . s:Args(), \ 'post_args': ' --verbose ' . s:Args(),
\ 'subchecker': 'jshint' }) \ 'subchecker': 'jshint' })
let errorformat = '%f: line %l\, col %c\, %m. \(%t%*\d\)' let errorformat = '%f: line %l\, col %c\, %m \(%t%*\d\)'
return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr('')} }) return SyntasticMake({ 'makeprg': makeprg, 'errorformat': errorformat, 'defaults': {'bufnr': bufnr('')} })
endfunction endfunction