diff --git a/autoload/tagbar/debug.vim b/autoload/tagbar/debug.vim index b028233..04caec1 100644 --- a/autoload/tagbar/debug.vim +++ b/autoload/tagbar/debug.vim @@ -7,8 +7,9 @@ function! tagbar#debug#start_debug(...) abort let s:debug_file = filename endif - " Clear log file + " Clear log file and start it with version info exe 'redir! > ' . s:debug_file + silent version redir END " Check whether the log file could be created