feat(wilder): added
This commit is contained in:
parent
388a051a3c
commit
62ad9b99c5
1 changed files with 25 additions and 0 deletions
25
lua/plugins/wilder.lua
Normal file
25
lua/plugins/wilder.lua
Normal 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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue