add: update config

This commit is contained in:
asep.komarudin 2024-04-08 20:43:52 +07:00
parent 99e49e4087
commit 83ef9398c8
5 changed files with 298 additions and 9 deletions

View file

@ -102,8 +102,16 @@ return {
},
{
"hrsh7th/cmp-cmdline",
event = "VeryLazy",
-- event = "VeryLazy",
enabled = use_noice,
init = function()
-- load if mode command mode
vim.api.nvim_create_autocmd("CmdlineEnter", {
callback = function()
require("lazy").load({ plugins = { "cmp-cmdline" } })
end,
})
end,
config = function()
local cmp = require("cmp")
local mapping = {