clean up cmp config
This commit is contained in:
parent
1de0b2f878
commit
996675ce46
1 changed files with 1 additions and 6 deletions
|
@ -13,7 +13,6 @@ return {
|
|||
vim.opt.shortmess:append("c")
|
||||
|
||||
local cmp = require("cmp")
|
||||
|
||||
cmp.setup({
|
||||
preselect = cmp.PreselectMode.Item,
|
||||
|
||||
|
@ -36,11 +35,7 @@ return {
|
|||
["<CR>"] = nil,
|
||||
},
|
||||
|
||||
snippet = {
|
||||
expand = function(args)
|
||||
vim.snippet.expand(args.body)
|
||||
end,
|
||||
},
|
||||
snippet = { expand = function(args) vim.snippet.expand(args.body) end },
|
||||
})
|
||||
end,
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue