> The approach I took is:
>
> function! CppCheck()
> silent exe '!cppcheck --enable=all --verbose --template gcc * 2>
> cppcheck.out'
> cfile cppcheck.out
> copen
> endfunction
The approach you took don't give me more than I had at the beginning
but my goal maybe was not understand.
I actually retrieve well the analysis of cppCheck but it is long so I
would like to catch the progress infos of cppCheck that are redirect
by it at level (1 or 0).
func! AnalysisWithCppCheck(dir)
set errorformat=%f:%l:\ %m
let cmd = "cppCheck " . a:dir . " -a -q --enable=all --template \"gcc
\" 1> c:\\infos.txt"
cexpr system(cmd)
" your code >>>> silent exe '!cppcheck --enable=all --verbose --
template gcc * 2> cppcheck.out'
" your code >>>> cfile cppcheck.out
copen
endfunc
your code do the same than mine but mine tried to store into c:\
\infos.txt the progress info 45% 50% etc...
I would like to display this percent into statusline that's why I
tried to store those informations into a file or other structure.
Thank you for your help
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php