diff options
| author | glepnir <glephunter@gmail.com> | 2026-03-23 23:02:30 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2026-03-23 11:02:30 -0400 |
| commit | f2d0b06ecbb50541db748cd7974a24816b609dd3 (patch) | |
| tree | e796749a7c8abecc10496bff05f597fb9dd8e327 /scripts/lintcommit.lua | |
| parent | e2afa762c86833d49faaba1574ee109c82e3c85c (diff) | |
| download | rneovim-f2d0b06ecbb50541db748cd7974a24816b609dd3.tar.gz rneovim-f2d0b06ecbb50541db748cd7974a24816b609dd3.tar.bz2 rneovim-f2d0b06ecbb50541db748cd7974a24816b609dd3.zip | |
fix(lsp): completion word includes leading space from label #38435
Problem: clangd prepends a space/bullet indicator to label. With
labelDetailsSupport enabled, the signature moves to labelDetails,
making label shorter. This flips the length comparison in
get_completion_word, causing it to use item.label directly and
insert the indicator into the buffer.
Solution: only prefer filterText over label when label starts with non-keyword
character in get_completion_word fallback branch.
Diffstat (limited to 'scripts/lintcommit.lua')
0 files changed, 0 insertions, 0 deletions