ui/dressing: init

This commit is contained in:
Venkatesan Ravi 2025-04-05 04:21:52 +00:00
commit 203d68071f
5 changed files with 50 additions and 0 deletions

View file

@ -0,0 +1,21 @@
{lib, ...}: let
inherit (lib.nvim.types) mkPluginSetupOption;
inherit (lib.options) literalMD mkEnableOption mkOption;
inherit (lib.types) listOf str;
in {
options.vim.ui.dressing = {
enable = mkEnableOption "auto-save";
setupOpts = mkPluginSetupOption "dressing" {
select = {
backend = mkOption {
type = listOf str;
default = ["fzf_lua"];
description = literalMD ''
Priority list of preferred `vim.select` implementations.
Note: Using the default value(`["fzf_lua"]`) will also enable `fzf-lua`.
'';
};
};
};
};
}