mirror of
https://github.com/gryf/tagbar.git
synced 2025-12-17 19:40:27 +01:00
Don't skip over unmodifiable buffers, closes #213
Skipping over unmodifiable buffers when checking for Tagbar being the last window got introduced in #117, but I don't think it is actually necessary.
This commit is contained in:
@@ -3796,12 +3796,7 @@ function! s:NextNormalWindow() abort
|
||||
let buf = winbufnr(i)
|
||||
|
||||
" skip unlisted buffers
|
||||
if buflisted(buf) == 0
|
||||
continue
|
||||
endif
|
||||
|
||||
" skip un-modifiable buffers
|
||||
if getbufvar(buf, '&modifiable') != 1
|
||||
if !buflisted(buf)
|
||||
continue
|
||||
endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user