aboutsummaryrefslogtreecommitdiff
path: root/runtime/lua/vim/range.lua
diff options
context:
space:
mode:
authorglepnir <glephunter@gmail.com>2026-05-17 23:58:49 +0800
committerGitHub <noreply@github.com>2026-05-17 11:58:49 -0400
commit767fbd88ff3c10326a523b9ffc6c0fe9ed37037e (patch)
tree13ea2bba2a5e5cfb8197147924c39c3b51fe7a09 /runtime/lua/vim/range.lua
parenta562fb33ca27fb3764e62eccbf0d391e7780475c (diff)
downloadrneovim-767fbd88ff3c10326a523b9ffc6c0fe9ed37037e.tar.gz
rneovim-767fbd88ff3c10326a523b9ffc6c0fe9ed37037e.tar.bz2
rneovim-767fbd88ff3c10326a523b9ffc6c0fe9ed37037e.zip
fix(lsp): fallback to filterText for non-matching PlainText items #39695
Problem: PlainText completion items used `textEdit.newText` or `insertText` as the completion word even when they did not match the typed prefix. This could break popup completion behavior like 'completeopt+=longest'. Solution: Fall back to `filterText` when `newText` or `insertText` does not match the typed prefix.
Diffstat (limited to 'runtime/lua/vim/range.lua')
0 files changed, 0 insertions, 0 deletions