aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/pack.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-03-09 19:58:13 +0800
committerGitHub <noreply@github.com>2026-03-09 07:58:13 -0400
commit69419f8b3e76363d44348ac64d6550e34725f6ea (patch)
treebc8f3b237e9b143b6e4c39186db174be10c8d4b9 /runtime/lua/vim/pack.lua
parentd53d542359de09270a625f3357db77d6b03041fa (diff)
downloadrneovim-69419f8b3e76363d44348ac64d6550e34725f6ea.tar.gz
rneovim-69419f8b3e76363d44348ac64d6550e34725f6ea.tar.bz2
rneovim-69419f8b3e76363d44348ac64d6550e34725f6ea.zip
fix(completion): CompleteDone reason="discard" when candidate text remains #38169
Problem: CompleteDone fires with reason="discard" even when the candidate text was inserted and left in the buffer, because reason was determined solely by the terminating keycode (Ctrl-Y). Solution: Check compl_used_match to detect whether inserted text remains in the buffer, and set reason="accept" accordingly.
Diffstat (limited to 'runtime/lua/vim/pack.lua')
0 files changed, 0 insertions, 0 deletions