mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 02:11:33 +00:00
utility/undotree: init module
This commit is contained in:
parent
0c9b4d0d80
commit
b7b442737a
2 changed files with 38 additions and 0 deletions
25
modules/plugins/utility/undotree/undotree.nix
Normal file
25
modules/plugins/utility/undotree/undotree.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ 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;
|
||||
# # ...
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue