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")
|
vim.opt.shortmess:append("c")
|
||||||
|
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
|
|
||||||
cmp.setup({
|
cmp.setup({
|
||||||
preselect = cmp.PreselectMode.Item,
|
preselect = cmp.PreselectMode.Item,
|
||||||
|
|
||||||
|
@ -36,11 +35,7 @@ return {
|
||||||
["<CR>"] = nil,
|
["<CR>"] = nil,
|
||||||
},
|
},
|
||||||
|
|
||||||
snippet = {
|
snippet = { expand = function(args) vim.snippet.expand(args.body) end },
|
||||||
expand = function(args)
|
|
||||||
vim.snippet.expand(args.body)
|
|
||||||
end,
|
|
||||||
},
|
|
||||||
})
|
})
|
||||||
end,
|
end,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue