aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/async/_queue.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-09-11 19:49:57 +0800
committerGitHub <noreply@github.com>2026-09-11 07:49:57 -0400
commit2a344d8c8484da16471a2856d5e716624b27adfb (patch)
treeb9bc6beab82007829eda0cc47907a61abbf5ccac /runtime/lua/vim/async/_queue.lua
parent67a8407dbab0c065e0a220d31438951fbac4cb06 (diff)
downloadrneovim-2a344d8c8484da16471a2856d5e716624b27adfb.tar.gz
rneovim-2a344d8c8484da16471a2856d5e716624b27adfb.tar.bz2
rneovim-2a344d8c8484da16471a2856d5e716624b27adfb.zip
fix(lsp): snippet is not expanded when resolve races the user #41774
Problem: on_complete_done() defers clear_word() and the snippet expansion until completionItem/resolve answers, and drops both when 'changedtick' moved meanwhile. Typing right after accepting leaves the plain word in the buffer. Solution: Expand before requesting, and anchor the resolved edits with an extmark instead of gating them on 'changedtick'.
Diffstat (limited to 'runtime/lua/vim/async/_queue.lua')
0 files changed, 0 insertions, 0 deletions