aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/_stringbuffer.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-10-31 17:13:31 +0800
committerzeertzjq <zeertzjq@outlook.com>2025-10-31 18:46:01 +0800
commita0f3fdba582f817242554a9922943b005f3bd49d (patch)
treee41f86e0c65acacd0574eeed9f181f968ec59b68 /runtime/lua/vim/_stringbuffer.lua
parentd825e5116981da249720a4a5f18f11939d8d00fd (diff)
downloadrneovim-a0f3fdba582f817242554a9922943b005f3bd49d.tar.gz
rneovim-a0f3fdba582f817242554a9922943b005f3bd49d.tar.bz2
rneovim-a0f3fdba582f817242554a9922943b005f3bd49d.zip
vim-patch:9.1.1479: regression when displaying localized percentage position
Problem: regression when displaying localized percentage position (after v9.1.1291) Solution: calculate percentage first (Emir SARI) Cleanups made in ec032de broke the Turkish percent display, failing to prepend it properly in cases between 0 and 10. In Turkish, the percent sign is prepended to the number, so it was displaying it as `% 5` (should have been `%5`), while displaying numbers bigger than 9 properly. related: vim/vim#17597 https://github.com/vim/vim/commit/8fe9e55a7d92870f5bbaa592e1f3617e9cda33c6 The test was unskipped in Vim in patch 9.1.1479 which added Turkish translation for "%d%%". However, Nvim has had Turkish translation for "%d%%" since 2023, so don't skip the test. Co-authored-by: Emir SARI <emir_sari@icloud.com>
Diffstat (limited to 'runtime/lua/vim/_stringbuffer.lua')
0 files changed, 0 insertions, 0 deletions