Ignore preview window when quitting

This commit is contained in:
Jan Larres
2013-11-11 17:39:48 +13:00
parent 290b71e2b7
commit 2d650b96cf

View File

@ -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