Skip to content

Commit

Permalink
Ignore preview window when quitting
Browse files Browse the repository at this point in the history
  • Loading branch information
majutsushi committed Nov 11, 2013
1 parent 290b71e commit 2d650b9
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions autoload/tagbar.vim
Expand Up @@ -3715,6 +3715,11 @@ function! s:NextNormalWindow() abort
continue continue
endif endif


" skip the preview window
if getwinvar(i, '&previewwindow')
continue
endif

" skip current window " skip current window
if i == winnr() if i == winnr()
continue continue
Expand Down

0 comments on commit 2d650b9

Please sign in to comment.