Fix handlebars errorformat.

This commit is contained in:
LCD 47 2013-10-25 16:30:00 +03:00
parent ccef916d48
commit 68b2c651b3

View File

@ -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({