neovim/runtime
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
..
autoload vim-patch:4407461: runtime(netrw): correctly test for windows in NetrwGlob() (#29330) 2024-06-14 16:28:55 +08:00
colors fix(highlight): add StatusLineTerm/StatusLineTermNC to :color vim (#29313) 2024-06-14 17:28:49 +08:00
compiler
doc vim-patch:d353d27: runtime(doc): restore description of "$" in col() and virtcol() (vim/vim#14981) 2024-06-14 04:49:21 +08:00
ftplugin vim-patch:2d88210: runtime(kdl): include syntax, indent and ftplugin files 2024-06-11 14:00:11 +02:00
indent vim-patch:2e3b2a8: runtime(kdl): use shiftwidth() instead of &tabstop in indent script 2024-06-12 00:02:39 +02:00
keymap
lua fix(lsp): tune completion word extraction for decorated labels (#29331) 2024-06-14 19:32:34 +02:00
macros
pack/dist/opt vim-patch:partial:9.1.0482: termdebug plugin needs more love (#29329) 2024-06-14 16:37:38 +08:00
plugin
queries build(deps): bump tree-sitter-vimdoc to v3.0.0 2024-06-08 10:19:28 +02:00
spell
syntax vim-patch:902b766: runtime(java): Include element values in non-marker annotations (vim/vim#14979) 2024-06-13 22:26:54 +02:00
tools
tutor docs: misc (#28837) 2024-06-07 10:55:14 +08:00
CMakeLists.txt
delmenu.vim
filetype.lua
ftoff.vim
ftplugin.vim
ftplugof.vim
indent.vim
indoff.vim
macmap.vim
makemenu.vim
menu.vim
mswin.vim
neovim.ico
nvim.appdata.xml
nvim.desktop
nvim.png
optwin.vim vim-patch:9.1.0469: Cannot have buffer-local value for 'completeopt' 2024-06-06 06:07:31 +08:00
synmenu.vim