diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-10-16 16:54:56 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-16 10:54:56 -0400 |
| commit | 36f9bccedc278b8c2bf6e2b3a92f10373f511927 (patch) | |
| tree | 8af20ce7f6b4d67778bf04083d73b232fe166234 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | 28a17adbb9943c920c4e6600bb47f48328e58617 (diff) | |
| download | rneovim-36f9bccedc278b8c2bf6e2b3a92f10373f511927.tar.gz rneovim-36f9bccedc278b8c2bf6e2b3a92f10373f511927.tar.bz2 rneovim-36f9bccedc278b8c2bf6e2b3a92f10373f511927.zip | |
fix(lsp): preserve explicit completion edit ranges #42399
Problem:
A completion list default edit range can replace the explicit range of an
InsertReplaceEdit, filtering out valid items or changing their replacement.
Solution:
Only synthesize a default text edit when the completion item has none.
Extend the existing itemDefaults test for explicit edits with both range variants.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions