feat(cmp): add opts_extend to make it easier for user to change mapping, sources, etc.

This commit is contained in:
Johnson Hu 2024-07-24 23:10:12 +08:00
parent 0daa957b3c
commit 099bf5b38c

View file

@ -19,6 +19,7 @@ return {
-- auto_brackets = { "python" }
-- }
-- ```
opts_extend = { "mapping", "experimental", "completion", "formatting", "sources" },
opts = function()
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })
local cmp = require("cmp")