diff options
| author | Volodymyr Chernetskyi <volodymyr_chernetskyi@goodyear.com> | 2026-10-16 17:13:36 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-10-16 11:13:36 -0400 |
| commit | 8d5395ed790b90849d7cac836f63ca7d2fb292b3 (patch) | |
| tree | ad5160c8d0522d98472aa5394ca29c39432aba28 /runtime/lua/vim/_ftplugin/lua.lua | |
| parent | 36f9bccedc278b8c2bf6e2b3a92f10373f511927 (diff) | |
| download | rneovim-8d5395ed790b90849d7cac836f63ca7d2fb292b3.tar.gz rneovim-8d5395ed790b90849d7cac836f63ca7d2fb292b3.tar.bz2 rneovim-8d5395ed790b90849d7cac836f63ca7d2fb292b3.zip | |
fix(lsp): keep label fallback for empty snippet insertText #42402
Problem:
An empty snippet insertText falls back to the label during selection, but
acceptance clears that label and expands an empty string.
Solution:
Require nonempty insertText before expanding a snippet without textEdit.
Extend the omnifunc acceptance fixture with an empty snippet insertion.
AI-assisted
Diffstat (limited to 'runtime/lua/vim/_ftplugin/lua.lua')
0 files changed, 0 insertions, 0 deletions