]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.0557: moving in the buffer list doesn't work as documented v9.1.0557
authorLemonBoy <thatlemon@gmail.com>
Wed, 10 Jul 2024 18:20:48 +0000 (20:20 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 10 Jul 2024 18:20:48 +0000 (20:20 +0200)
commit893eeeb44583ca33276e263165b2a6e50fd297d0
tree5d378938f7f47aec470e59a775bd330c850698e1
parent7a85e343d29e502f66e2c3035808911e5a843e99
patch 9.1.0557: moving in the buffer list doesn't work as documented

Problem:  moving in the buffer list doesn't work as documented
          (SenileFelineS)
Solution: Skip non-help buffers, when run from normal buffers, else
          only move from help buffers to the next help buffer (LemonBoy)

As explained in the help section for :bnext and :bprev the commands
should jump from help buffers to help buffers (and from regular ones to
regular ones).

fixes: #4478
closes: #15198

Signed-off-by: LemonBoy <thatlemon@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/version9.txt
src/buffer.c
src/testdir/test_buffer.vim
src/version.c
src/vim.h