mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 11:30:28 +01:00
Check for nonexistent variable, closes #357
This commit is contained in:
@@ -1917,7 +1917,8 @@ function! s:OpenWindow(flags) abort
|
||||
" then that means that the window numbers have changed.
|
||||
" Just jump back to the previous window since we won't be able to
|
||||
" restore the window history.
|
||||
if winnr() == pprevwinnr || winnr() == prevwinnr
|
||||
if winnr() == prevwinnr
|
||||
\ || (exists('pprevwinnr') && winnr() == pprevwinnr)
|
||||
call s:goto_win('p')
|
||||
else
|
||||
if exists('pprevwinnr')
|
||||
|
||||
Reference in New Issue
Block a user