clean up cmp config

This commit is contained in:
tdback 2024-11-12 18:32:00 -05:00
parent 1de0b2f878
commit 996675ce46

View file

@ -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,
}