22 lines
603 B
Nix
Executable file
22 lines
603 B
Nix
Executable file
{...}: {
|
|
programs.nixvim.plugins.wilder = {
|
|
enable = true;
|
|
modes = [":" "/" "?"];
|
|
enableCmdlineEnter = true;
|
|
acceptKey = "<CR>";
|
|
renderer = ''
|
|
wilder.popupmenu_renderer(
|
|
wilder.popupmenu_border_theme({
|
|
highlights = {
|
|
border = 'Normal', -- highlight to use for the border
|
|
},
|
|
left = { ' ', wilder.popupmenu_devicons() },
|
|
-- 'single', 'double', 'rounded' or 'solid'
|
|
-- can also be a list of 8 characters, see :h wilder#popupmenu_border_theme() for more details
|
|
border = 'rounded',
|
|
})
|
|
)
|
|
'';
|
|
};
|
|
}
|