Nimbin[12]?Mirrors & Forks / syntastic / commits / 9041bc76

syntastic git · master

syntastic vim plugin (fork)

vim fork · first commit 2009-07-10 · last commit 2022-07-10 (4 years ago) · synced 3 days ago · upstream: github.com/vim-syntastic/syntastic

Vim Script 99%
git clone https://git.christianimmanuel.de/mirrors-forks/syntastic.gitwget https://git.christianimmanuel.de/mirrors-forks/syntastic/archive/syntastic.tar.gz

Checker c/cppcheck: update errrorformat.

LCD 47 · 2020-08-24 17:10 · 9041bc76b4084dda00933744c0dce4bdf43d15c7

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