Save ctags output in separate file when debugging

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

No files matched your search

+6
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