]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.1.1890: %P in 'statusline' doesn't behave as documented v9.1.1890
authorzeertzjq <zeertzjq@outlook.com>
Fri, 31 Oct 2025 09:10:05 +0000 (09:10 +0000)
committerChristian Brabandt <cb@256bit.org>
Fri, 31 Oct 2025 09:10:05 +0000 (09:10 +0000)
commit73a0de4a04b48ccaa0291f91fb69606c66d7cf8c
treeab9f618307fec4497f74b503702aa051d439e7c7
parent69dd5906fd9723774715ec37ad3b44652938f655
patch 9.1.1890: %P in 'statusline' doesn't behave as documented

Problem:  %P in 'statusline' doesn't behave as documented
          (after 9.1.1479).
Solution: Make the percentage 3-chars wide when not translated.
          (zeertzjq)

fixes: #18669
closes: #18671

Co-authored-by: Christ van Willegen <cvwillegen@gmail.com>
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/buffer.c
src/testdir/test_statusline.vim
src/version.c