From a9fc0fc46b3500e757271fd6c21f8c7d33498c96 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Mon, 18 Sep 2017 20:57:10 +1200 Subject: [PATCH] Log version info at beginning of logfile --- autoload/tagbar/debug.vim | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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