mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-01-31 22:32:24 +00:00
29 lines
714 B
Nix
29 lines
714 B
Nix
{lib, ...}: let
|
|
inherit (lib.options) mkEnableOption mkOption literalExpression;
|
|
inherit (lib.types) attrsOf submodule;
|
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
|
in {
|
|
options.vim.collections.mini-nvim = {
|
|
enable = mkEnableOption "mini.nvim, a collection of quality-of-life modules";
|
|
modules = mkOption {
|
|
type = attrsOf (submodule {
|
|
options = {
|
|
setupOpts = mkPluginSetupOption "mini.nvim plugin" {};
|
|
};
|
|
});
|
|
default = {};
|
|
example =
|
|
literalExpression
|
|
''
|
|
{
|
|
files = {};
|
|
sessions = {
|
|
autoread = true;
|
|
autowrite = true;
|
|
};
|
|
}
|
|
'';
|
|
};
|
|
};
|
|
}
|