Log version info at beginning of logfile

This commit is contained in:
Jan Larres 2017-09-18 20:57:10 +12:00
parent 2329c95063
commit a9fc0fc46b

View File

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