nvim: update cmp config
This commit is contained in:
parent
d192524325
commit
650cd0a4c1
1 changed files with 8 additions and 3 deletions
|
@ -139,16 +139,16 @@ M.cmp = function()
|
|||
end,
|
||||
},
|
||||
sources = {
|
||||
{ name = 'path' },
|
||||
{ name = 'nvim_lua' },
|
||||
{ name = 'nvim_lsp' },
|
||||
{ name = 'nvim_lua' },
|
||||
{ name = 'luasnip' },
|
||||
{ name = 'treesitter' },
|
||||
{ name = 'calc' },
|
||||
-- { name = 'spell' },
|
||||
{ name = 'buffer' },
|
||||
{ name = 'cmdline' },
|
||||
{ name = 'emoji' },
|
||||
{ name = 'buffer' },
|
||||
{ name = 'path' },
|
||||
},
|
||||
formatting = {
|
||||
format = function(entry, vim_item)
|
||||
|
@ -178,6 +178,11 @@ M.cmp = function()
|
|||
return vim_item
|
||||
end,
|
||||
},
|
||||
window = {
|
||||
documentation = {
|
||||
border = { "╭", "─", "╮", "│", "╯", "─", "╰", "│" },
|
||||
},
|
||||
},
|
||||
experimental = {
|
||||
ghost_text = true,
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue