neovim/test/functional
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
..
api refactor(tests): use more global highlight definitions 2024-05-26 09:22:20 +02:00
autocmd feat(complete): specify reason for CompleteDone 2024-05-24 11:57:46 +02:00
core test: remove checks for failed tests on Windows 2024-05-31 10:04:01 -05:00
editor refactor(tests): more global highlight definitions 2024-05-26 10:24:27 +02:00
ex_cmds test: improve test conventions 2024-04-23 18:17:04 +02:00
fixtures fix(lsp): revert buf_versions deprecation/replacement (#29217) 2024-06-07 11:36:46 +02:00
legacy vim-patch:9.1.0414: Unable to leave long line with 'smoothscroll' and 'scrolloff' 2024-05-17 20:28:14 +02:00
lua test: fix vim.deprecate tests 2024-06-12 16:41:26 +01:00
options test: improve test conventions 2024-04-23 18:17:04 +02:00
plugin fix(lsp): tune completion word extraction for decorated labels (#29331) 2024-06-14 19:32:34 +02:00
provider test: improve test conventions 2024-04-23 18:17:04 +02:00
script fix(luacats): allow all types inside tuples 2024-06-01 12:56:43 +01:00
shada refactor(shada): remove ShaDaReadDef secondary wrapper 2024-05-28 13:36:54 +02:00
terminal fix(highlight): add StatusLineTerm/StatusLineTermNC to :color vim (#29313) 2024-06-14 17:28:49 +08:00
treesitter fix(treesitter): find buffer in multiple windows #28922 2024-05-27 04:20:03 -07:00
ui fix(highlight): add StatusLineTerm/StatusLineTermNC to :color vim (#29313) 2024-06-14 17:28:49 +08:00
vimscript feat(api): broadcast events to ALL channels #28487 2024-05-17 07:37:39 -07:00
example_spec.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
preload.lua test: improve test conventions 2024-04-23 18:17:04 +02:00
testnvim.lua Merge pull request #29103 from gpanders/test-no-tgc 2024-06-12 19:31:15 -05:00