mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Save ctags output in separate file when debugging
This commit is contained in:
@@ -2438,6 +2438,12 @@ function! s:ExecuteCtagsOnFile(fname, realfname, typeinfo) abort
|
||||
endif
|
||||
|
||||
call s:debug('Ctags executed successfully')
|
||||
if s:debug
|
||||
exe 'redir! > ' . s:debug_file . '.ctags_out'
|
||||
silent echon ctags_output
|
||||
redir END
|
||||
endif
|
||||
|
||||
return ctags_output
|
||||
endfunction
|
||||
|
||||
|
||||
Reference in New Issue
Block a user