aboutsummaryrefslogtreecommitdiff
path: root/test/functional/api/vim_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-06-15 21:39:56 +0800
committerGitHub <noreply@github.com>2024-06-15 21:39:56 +0800
commitfd2ef4edf9cc1461edaf9f7ce34711d9b40a7fb8 (patch)
tree2707da71d6188bc1012eb8a70e010f2c8e8e8d47 /test/functional/api/vim_spec.lua
parentbb487ea12e279bb7ab599d55eb027f1c34e4ecbe (diff)
downloadrneovim-fd2ef4edf9cc1461edaf9f7ce34711d9b40a7fb8.tar.gz
rneovim-fd2ef4edf9cc1461edaf9f7ce34711d9b40a7fb8.tar.bz2
rneovim-fd2ef4edf9cc1461edaf9f7ce34711d9b40a7fb8.zip
vim-patch:9.1.0488: Wrong padding for pum "kind" with 'rightleft' (#29352)
Problem: Wrong padding for pum "kind" with 'rightleft'. Solution: Fix off-by-one error (zeertzjq). The screen_fill() above is end-exclusive, and - With 'rightleft' it fills `pum_col - pum_base_width - n + 1` to `col`, so the next `col` should be `pum_col - pum_base_width - n`. - With 'norightleft' it fills `col` to `pum_col - pum_base_width + n - 1`, so the next `col` should be `pum_col - pum_base_width + n`. closes: vim/vim#15004 https://github.com/vim/vim/commit/a2324373eb1c3f1777bc40cb6dcd5e895a15fe10
Diffstat (limited to 'test/functional/api/vim_spec.lua')
0 files changed, 0 insertions, 0 deletions