Improve chktex format to handle the column number.
This commit is contained in:
parent
1a8f372b35
commit
742e8b0ba0
@ -27,12 +27,12 @@ let s:save_cpo = &cpo
|
||||
set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_tex_chktex_GetLocList() dict
|
||||
let makeprg = self.makeprgBuild({ 'args_after': '-q -v1' })
|
||||
let makeprg = self.makeprgBuild({ 'args_after': "-q -f \"%k:%n:%f:%l:%c:%m\n\"" })
|
||||
|
||||
let errorformat =
|
||||
\ '%EError %n in %f line %l: %m,' .
|
||||
\ '%WWarning %n in %f line %l: %m,' .
|
||||
\ (g:syntastic_tex_chktex_showmsgs ? '%WMessage %n in %f line %l: %m,' : '') .
|
||||
\ '%EError:%n:%f:%l:%c:%m,' .
|
||||
\ '%WWarning:%n:%f:%l:%c:%m,' .
|
||||
\ (g:syntastic_tex_chktex_showmsgs ? '%WMessage:%n:%f:%l:%c:%m,' : '') .
|
||||
\ '%Z%p^,' .
|
||||
\ '%-G%.%#'
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user