feat(wilder): added

This commit is contained in:
Paul Fey 2025-03-31 18:41:07 +02:00
parent 388a051a3c
commit 62ad9b99c5

25
lua/plugins/wilder.lua Normal file
View file

@ -0,0 +1,25 @@
return {
"gelguy/wilder.nvim",
dependencies = {"nvim-tree/nvim-web-devicons"},
config = function()
local wilder = require("wilder")
wilder.setup({
modes = {':', '/', '?'},
next_key = "<Tab>",
previous_key = "<S-Tab>",
accept_key = "<Down>",
reject_key = "<Up>"
})
wilder.set_option('renderer', wilder.popupmenu_renderer({
highlighter = wilder.basic_highlighter(),
right = {' ', wilder.popupmenu_scrollbar()},
left = {' ', wilder.popupmenu_devicons()},
highlights = {
accent = wilder.make_hl('WilderAccent', 'Pmenu', {
{a = 1}, {a = 1}, {foreground = '#f4468f'}
})
},
pumblend = 50
}))
end
}