From 937354ebb5962a3ad80e0de3ab3442af3ad32232 Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Sun, 3 Sep 2017 20:34:54 +1200 Subject: [PATCH] Log individual user types being loaded --- autoload/tagbar.vim | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 9213210..b6cee7a 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -173,13 +173,9 @@ function! s:LoadUserTypeDefs(...) abort if a:0 > 0 let type = a:1 - call tagbar#debug#log("Initializing user type '" . type . "'") - let defdict = {} let defdict[type] = g:tagbar_type_{type} else - call tagbar#debug#log('Initializing user types') - let defdict = tagbar#getusertypes() endif @@ -190,6 +186,7 @@ function! s:LoadUserTypeDefs(...) abort endfor for [key, value] in items(transformed) + call tagbar#debug#log("Initializing user type '" . key . "'") if !has_key(s:known_types, key) || get(value, 'replace', 0) let s:known_types[key] = tagbar#prototypes#typeinfo#new(value) else