feat(lsp): apply additionalTextEdits on completion accept

This commit is contained in:
2026-04-16 04:14:13 +02:00
parent e3e4d81ab0
commit 7162d00b43
4 changed files with 100 additions and 26 deletions
+1 -1
View File
@@ -123,7 +123,7 @@ local function build_items(responses, base)
result[#result + 1] = {
word = item_word(item),
abbr = item.label:match("[^(]+") or item.label,
menu = "",
menu = vim.tbl_get(item, "labelDetails", "detail") or "",
kind = kind_icon,
kind_hlgroup = kind_hl,
-- non-empty so our CompleteChanged handler triggers resolve