mirror of
https://github.com/gryf/tagbar.git
synced 2026-10-08 14:52:31 +02: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:
1 parent
5e392c1b8d
commit
59c9b7ce1c
1 file changed
+1
-6
+1
-6
@@ -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