1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-18 03:50:26 +01:00

Save ctags output in separate file when debugging

This commit is contained in:
Jan Larres
2017-02-11 17:40:24 +13:00
parent 68eebbb50c
commit aab5f214c5
2 changed files with 15 additions and 3 deletions

View File

@@ -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