Fix: change proposition order

This commit is contained in:
Bertrand Benjamin 2022-11-21 10:08:31 +01:00
parent 30d3ddfc90
commit b0570700bb

View File

@ -51,9 +51,9 @@ cmp.setup {
vim_item.kind = lsp_symbols[vim_item.kind] vim_item.kind = lsp_symbols[vim_item.kind]
-- set a name for each source -- set a name for each source
vim_item.menu = ({ vim_item.menu = ({
buffer = "[Buffer]",
nvim_lsp = "[LSP]",
vsnip = "[vSnip]", vsnip = "[vSnip]",
nvim_lsp = "[LSP]",
buffer = "[Buffer]",
path = "[Path]", path = "[Path]",
spell = "[Spell]", spell = "[Spell]",
})[entry.source.name] })[entry.source.name]