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