1
0
mirror of https://github.com/gryf/tagbar.git synced 2025-12-17 19:40:27 +01:00

Log exact shell command for debug

This commit is contained in:
Jan Larres
2013-08-21 02:44:22 +12:00
parent 824767bc48
commit 746771801c

View File

@@ -3355,7 +3355,13 @@ function! s:ExecuteCtags(ctags_cmd) abort
set shellcmdflag=/s\ /c
endif
let ctags_output = system(a:ctags_cmd)
if s:debug
silent 5verbose let ctags_output = system(a:ctags_cmd)
call s:LogDebugMessage(v:statusmsg)
redraw!
else
let ctags_output = system(a:ctags_cmd)
endif
if &shell =~ 'cmd\.exe'
let &shellxquote = shellxquote_save