From 321fdd4fd1ea9e5a1dedb4a17f1f36c1d636b473 Mon Sep 17 00:00:00 2001 From: Martin Vuille Date: Wed, 28 Sep 2016 06:20:25 -0400 Subject: [PATCH] Don't close new tab --- autoload/tagbar.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index de9108c..6241eab 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -4041,7 +4041,7 @@ function! s:QuitIfOnlyWindow() abort noautocmd bdelete endif quit - else + elseif exists('t:tagbar_buf_name') close endif endif