syntastic git · master
syntastic vim plugin (fork)
Vim Script 99%git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gzChecker c/cppcheck: update errrorformat.
plugin/syntastic.vim | 2 +- syntax_checkers/c/cppcheck.vim | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index 019b6ed0..f267947a 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -19,7 +19,7 @@ if has('reltime') lockvar! g:_SYNTASTIC_START endif -let g:_SYNTASTIC_VERSION = '3.10.0-13' +let g:_SYNTASTIC_VERSION = '3.10.0-14' lockvar g:_SYNTASTIC_VERSION " Sanity checks {{{1 diff --git a/syntax_checkers/c/cppcheck.vim b/syntax_checkers/c/cppcheck.vim index 8fe193d1..22ca9c9f 100644 --- a/syntax_checkers/c/cppcheck.vim +++ b/syntax_checkers/c/cppcheck.vim @@ -26,12 +26,19 @@ function! SyntaxCheckers_c_cppcheck_GetLocList() dict let errorformat = \ '[%f:%l]: (%trror) %m,' . + \ '%f:%l:%c: %trror: %m,' . \ '[%f:%l]: (%tarning) %m,' . + \ '%f:%l:%c: %tarning: %m,' . \ '[%f:%l]: (%ttyle) %m,' . + \ '%f:%l:%c: %ttyle: %m,' . \ '[%f:%l]: (%terformance) %m,' . + \ '%f:%l:%c: %terformance: %m,' . \ '[%f:%l]: (%tortability) %m,' . + \ '%f:%l:%c: %tortability: %m,' . \ '[%f:%l]: (%tnformation) %m,' . + \ '%f:%l:%c: %tnformation: %m,' . \ '[%f:%l]: (%tnconclusive) %m,' . + \ '%f:%l:%c: %tnconclusive %.%#: %m,' . \ '%-G%.%#' let loclist = SyntasticMake({