]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1961: :0tab behaves like :tab for :stag when 'swb' contains "newtab" v9.1.1961
authorzeertzjq <zeertzjq@outlook.com>
Sun, 7 Dec 2025 18:07:37 +0000 (19:07 +0100)
committerChristian Brabandt <cb@256bit.org>
Sun, 7 Dec 2025 18:07:37 +0000 (19:07 +0100)
commit2b3566d89eeb3f84dad7715fff153b84177e5fbb
tree165f814a71cd0a822f1b130e7a4a129bf980140f
parent7a0d0a022a09724f2c522f97a27ce8b1713f5978
patch 9.1.1961: :0tab behaves like :tab for :stag when 'swb' contains "newtab"

Problem:  :0tab behaves like :tab for :stag when 'switchbuf' contains
          "newtab" (after 9.1.1949).
Solution: Don't override cmod_tab if it's already non-zero (zeertzjq).

closes: #18859

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/tag.c
src/testdir/test_tagjump.vim
src/version.c