From 2d650b96cffb4ab1763061cbadd6bbdf4896797a Mon Sep 17 00:00:00 2001 From: Jan Larres Date: Mon, 11 Nov 2013 17:39:48 +1300 Subject: [PATCH] Ignore preview window when quitting --- autoload/tagbar.vim | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/autoload/tagbar.vim b/autoload/tagbar.vim index dd90f90..639f194 100644 --- a/autoload/tagbar.vim +++ b/autoload/tagbar.vim @@ -3715,6 +3715,11 @@ function! s:NextNormalWindow() abort continue endif + " skip the preview window + if getwinvar(i, '&previewwindow') + continue + endif + " skip current window if i == winnr() continue