summaryrefslogtreecommitdiffstatshomepage
path: root/runtime/lua/vim/shared.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2025-07-08 06:37:30 +0800
committerGitHub <noreply@github.com>2025-07-08 06:37:30 +0800
commitc3c8d25293fd4da8fa867d18a7d54b2dc8c3d010 (patch)
tree5ef6cc74639ea4578d64ded04ef832260ebe9279 /runtime/lua/vim/shared.lua
parent2031287e93295949fbe5349413668eb14c9546f0 (diff)
vim-patch:9.1.1521: completion: pum does not reset scroll pos on reopen with 'noselect' (#34836)
Problem: When 'wildmode' is set to include "noselect", the popup menu (pum) incorrectly retained its scroll position when reopened. This meant that after scrolling down through the menu with `<C-n>`, reopening the menu (e.g., by retyping the command and triggering completion again) would show the menu starting from the previously scrolled position, rather than from the top. This could confuse users, as the first visible item would not be the first actual match in the list. Solution: Ensure that the popup menu resets its scroll position to the top when reopened (Girish Palya). closes: vim/vim#17673 https://github.com/vim/vim/commit/0cd7f3536bde47cf9693090b839abf88c7f019c8 Co-authored-by: Girish Palya <girishji@gmail.com>
Diffstat (limited to 'runtime/lua/vim/shared.lua')
0 files changed, 0 insertions, 0 deletions