neovim/runtime/lua
Mathias Fußenegger aa47af7e69
fix(lsp): tune completion word extraction for decorated labels (#29331)
Problem:

For snippets lsp.completion prefers the label if it is shorter than the
insertText or textEdit to support postfix completion cases but clangd
adds decoration characters to labels. E.g.: `•INT16_C(c)`

Solution:

Use parse_snippet on insertText/textEdit before checking if it is
shorter than the label.

Fixes https://github.com/neovim/neovim/issues/29301
2024-06-14 19:32:34 +02:00
..
vim fix(lsp): tune completion word extraction for decorated labels (#29331) 2024-06-14 19:32:34 +02:00
_vim9script.lua refactor(lua): rename tbl_islist => islist 2024-04-21 17:08:07 +02:00
coxpcall.lua build(lua): vendor coxpcall 2023-09-10 11:43:37 +02:00
editorconfig.lua feat(editorconfig): add support for spelling_language (#28638) 2024-06-06 09:16:43 -05:00
man.lua fix(man): filter OSC 8 hyperlink markup #29171 2024-06-07 12:43:17 -07:00
tohtml.lua refactor(lua): use tuple syntax everywhere #29111 2024-06-04 06:06:02 -07:00