neovim/test/functional/plugin
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
..
lsp fix(lsp): tune completion word extraction for decorated labels (#29331) 2024-06-14 19:32:34 +02:00
ccomplete_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
cfilter_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
editorconfig_spec.lua feat(editorconfig): add support for spelling_language (#28638) 2024-06-06 09:16:43 -05:00
health_spec.lua fix: change deprecation presentation 2024-05-24 11:08:00 +02:00
lsp_spec.lua refactor(lsp): use metatable for buf_versions (#29304) 2024-06-14 11:03:58 +02:00
man_spec.lua fix(man): filter OSC 8 hyperlink markup #29171 2024-06-07 12:43:17 -07:00
matchparen_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
msgpack_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
shada_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
tohtml_spec.lua fix(tohtml): properly handle multiple hl groups #29012 2024-05-26 10:27:12 -07:00
tutor_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
vim_syntax_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00