Fix handlebars errorformat.
This commit is contained in:
parent
ccef916d48
commit
68b2c651b3
@ -24,15 +24,15 @@ function! SyntaxCheckers_handlebars_handlebars_GetLocList()
|
|||||||
\ 'subchecker': 'handlebars' })
|
\ 'subchecker': 'handlebars' })
|
||||||
|
|
||||||
let errorformat =
|
let errorformat =
|
||||||
\ 'Error: %m on line %l:,'.
|
\ '%EError: %m on line %l:,'.
|
||||||
\ '%-Z%p^,' .
|
\ "%EError: %m,".
|
||||||
\ "Error: %m,".
|
\ '%Z%p^,' .
|
||||||
\ '%-Z%p^,' .
|
\ '%-G%.%#'
|
||||||
\ '%-G'
|
|
||||||
|
|
||||||
return SyntasticMake({
|
return SyntasticMake({
|
||||||
\ 'makeprg': makeprg,
|
\ 'makeprg': makeprg,
|
||||||
\ 'errorformat': errorformat })
|
\ 'errorformat': errorformat,
|
||||||
|
\ 'defaults': {'bufnr': bufnr("")} })
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
call g:SyntasticRegistry.CreateAndRegisterChecker({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user