aboutsummaryrefslogtreecommitdiff
path: root/test/functional/vimscript/executable_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2026-06-23 16:51:03 +0800
committerGitHub <noreply@github.com>2026-06-23 08:51:03 +0000
commiteb0bd381e5aeaf96464ad82903794bfb8be1345b (patch)
treebffa0fd64ad6cd9c45f4d9a586daffbbb8564a7b /test/functional/vimscript/executable_spec.lua
parente750f7c357f335b186ceed1063d5aee1d0a762c0 (diff)
downloadrneovim-eb0bd381e5aeaf96464ad82903794bfb8be1345b.tar.gz
rneovim-eb0bd381e5aeaf96464ad82903794bfb8be1345b.tar.bz2
rneovim-eb0bd381e5aeaf96464ad82903794bfb8be1345b.zip
vim-patch:9.2.0707: completion: popup misplaced when text before it is concealed (#40374)
Problem: When the cursor line has concealed text before the start of the completion, the insert-mode completion popup is drawn at the wrong screen column and the cursor no longer lines up with the completed text. Solution: Record the concealed width before the cursor on its screen line in a new `win_T` field while `win_line()` draws it, subtract it in `pum_display()` to place the menu over the visible text, and redraw the cursor line so `win_line()` corrects the cursor too. closes: vim/vim#20539 https://github.com/vim/vim/commit/d167c50de4b954e5ddd97208187c5b3b77dd89cc Co-authored-by: Barrett Ruth <br@barrettruth.com>
Diffstat (limited to 'test/functional/vimscript/executable_spec.lua')
0 files changed, 0 insertions, 0 deletions