utility/undotree: removed unimportant boilerplate

This commit is contained in:
Abhi 2025-07-19 14:44:47 -04:00
commit 81d566ac39
No known key found for this signature in database
5 changed files with 20 additions and 20 deletions

View file

@ -43,7 +43,7 @@ isMaximal: {
# This section does not include a comprehensive list of available language modules.
# To list all available language module options, please visit the nvf manual.
languages = {
enableFormat = true; #
enableFormat = true;
enableTreesitter = true;
enableExtraDiagnostics = true;
@ -184,6 +184,7 @@ isMaximal: {
project-nvim.enable = isMaximal;
};
undotree.enable = isMaximal;
utility = {
ccc.enable = false;
vim-wakatime.enable = false;
@ -194,7 +195,6 @@ isMaximal: {
leetcode-nvim.enable = isMaximal;
multicursors.enable = isMaximal;
smart-splits.enable = isMaximal;
motion = {
hop.enable = true;
leap.enable = true;
@ -238,7 +238,10 @@ isMaximal: {
nix = "110";
ruby = "120";
java = "130";
go = ["90" "130"];
go = [
"90"
"130"
];
};
};
fastaction.enable = true;

View file

@ -26,5 +26,6 @@
./wakatime
./yanky-nvim
./yazi-nvim
./undotree
];
}

View file

@ -0,0 +1,6 @@
{ ... }:
{
vim.lazy.plugins.undotree = {
cmd = [ "UndotreeToggle" ];
};
}

View file

@ -0,0 +1,6 @@
{
imports = [
./undotree.nix
./config.nix
];
}

View file

@ -1,25 +1,9 @@
{ lib, ... }:
let
inherit (lib.types) bool int;
inherit (lib.options) mkEnableOption mkOption;
inherit (lib.nvim.types) mkPluginSetupOption;
inherit (lib.options) mkEnableOption;
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;
# # ...
# };
};
};
}