mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
25 lines
513 B
Nix
25 lines
513 B
Nix
{ lib, ... }:
|
|
let
|
|
inherit (lib.types) bool int;
|
|
inherit (lib.options) mkEnableOption mkOption;
|
|
|
|
inherit (lib.nvim.types) mkPluginSetupOption;
|
|
in
|
|
{
|
|
options.vim.undotree = {
|
|
enable = mkEnableOption "undotree";
|
|
setupOpts = mkPluginSetupOption "undotree" {
|
|
# enable_feature_a = mkOption {
|
|
# type = bool;
|
|
# default = false;
|
|
# # ...
|
|
# };
|
|
#
|
|
# number_option = mkOption {
|
|
# type = int;
|
|
# default = 3;
|
|
# # ...
|
|
# };
|
|
};
|
|
};
|
|
}
|