Nvim: add new plugins, optimize old
This commit is contained in:
15
.config/nvim/lua/plugins/wildmenu.lua
Normal file
15
.config/nvim/lua/plugins/wildmenu.lua
Normal file
@@ -0,0 +1,15 @@
|
||||
return {
|
||||
"gelguy/wilder.nvim",
|
||||
config = function()
|
||||
local wilder = require('wilder')
|
||||
wilder.setup({modes = {':', '/', '?'}})
|
||||
wilder.set_option('renderer', wilder.popupmenu_renderer(
|
||||
wilder.popupmenu_border_theme({
|
||||
highlighter = wilder.basic_highlighter(),
|
||||
min_width = '100%', -- minimum height of the popupmenu, can also be a number
|
||||
min_height = '50%', -- to set a fixed height, set max_height to the same value
|
||||
reverse = 0, -- if 1, shows the candidates from bottom to top
|
||||
})
|
||||
))
|
||||
end
|
||||
}
|
||||
Reference in New Issue
Block a user