nixos-configuration/modules/editors/nixvim/plugins/wilder.nix

23 lines
656 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',
})
)
'';
};
}