mirror of
https://github.com/LazyVim/LazyVim.git
synced 2026-07-25 14:01:06 +00:00
feat(cmp): add opts_extend to make it easier for user to change mapping, sources, etc.
This commit is contained in:
parent
0daa957b3c
commit
099bf5b38c
1 changed files with 1 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ return {
|
||||||
-- auto_brackets = { "python" }
|
-- auto_brackets = { "python" }
|
||||||
-- }
|
-- }
|
||||||
-- ```
|
-- ```
|
||||||
|
opts_extend = { "mapping", "experimental", "completion", "formatting", "sources" },
|
||||||
opts = function()
|
opts = function()
|
||||||
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })
|
vim.api.nvim_set_hl(0, "CmpGhostText", { link = "Comment", default = true })
|
||||||
local cmp = require("cmp")
|
local cmp = require("cmp")
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue