mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-06 10:21:31 +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;
|
||||
# # ...
|
||||
# };
|
||||
};
|
||||
};
|
||||
}
|
|
@ -2497,6 +2497,19 @@
|
|||
"url": "https://github.com/chomosuke/typst-preview.nvim/archive/dea4525d5420b7c32eebda7de15a6beb9d6574fa.tar.gz",
|
||||
"hash": "0y658l2ibq0x4cwa4rl3lab7aw4ba68xcrdnxp81p2rsk0d60qq4"
|
||||
},
|
||||
"undotree": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
"type": "GitHub",
|
||||
"owner": "mbbill",
|
||||
"repo": "undotree"
|
||||
},
|
||||
"branch": "master",
|
||||
"submodules": false,
|
||||
"revision": "28f2f54a34baff90ea6f4a735ef1813ad875c743",
|
||||
"url": "https://github.com/mbbill/undotree/archive/28f2f54a34baff90ea6f4a735ef1813ad875c743.tar.gz",
|
||||
"hash": "0k9qfp64rbwy1lc62x0vkwfl3qlx8633lfbhqxkf64yqwi81ysp5"
|
||||
},
|
||||
"vim-dirtytalk": {
|
||||
"type": "Git",
|
||||
"repository": {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue