pojokcodeid.nvim-lazy/lua/plugins/cmp_cmdline.lua

21 lines
460 B
Lua
Raw Normal View History

2023-02-22 07:55:38 +07:00
return {
-- for auto complate commond mode
{
"gelguy/wilder.nvim",
2024-03-09 08:06:10 +07:00
lazy = true,
2023-02-22 07:55:38 +07:00
event = "BufWinEnter",
config = function()
local wilder = require("wilder")
wilder.setup({ modes = { ":", "/", "?" } })
wilder.set_option(
"renderer",
wilder.popupmenu_renderer({
highlighter = wilder.basic_highlighter(),
left = { " ", wilder.popupmenu_devicons() },
right = { " ", wilder.popupmenu_scrollbar() },
})
)
end,
},
}