From 5c33e09d68d1921d9aae885e975d2f5d8e368e9d Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Mon, 27 Oct 2014 22:38:59 +1300 Subject: [PATCH] Add simple inspect() debug function --- autoload/tagbar.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index 3dd0e82..0eab10a 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -4140,5 +4140,10 @@ function! tagbar#gettypeconfig(type) abort silent put =output endfunction +" tagbar#inspect() {{{2 +function! tagbar#inspect(var) abort + return get(s:, a:var) +endfunction + " Modeline {{{1 " vim: ts=8 sw=4 sts=4 et foldenable foldmethod=marker foldcolumn=1