.config/nvim/lua/plugins/completion.lua

changeset 1056
235dd39d6629
parent 1055
ba91fd3b81e1
child 1064
fcfa295076a8
equal deleted inserted replaced
1055:ba91fd3b81e1 1056:235dd39d6629
18 completion = { 18 completion = {
19 keyword_length = 3, 19 keyword_length = 3,
20 }, 20 },
21 formatting = { 21 formatting = {
22 format = function(entry, vim_item) 22 format = function(entry, vim_item)
23 if vim_item.kind == "Text" then 23 if entry.source.name == "nvim_lsp_signature_help" then
24 vim_item.kind = ""
25 elseif vim_item.kind == "Text" then
24 vim_item.kind = entry.source.name 26 vim_item.kind = entry.source.name
25 end 27 end
26 return vim_item 28 return vim_item
27 end, 29 end,
28 }, 30 },

mercurial