Merge pull request #570 from brianpeiris/patch-1
Add support for JSHint's secondary error format
This commit is contained in:
commit
44be5f391f
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user