feat(lsp): apply additionalTextEdits on completion accept
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user