utility/undotree: moved undotree to utility object

This commit is contained in:
Abhi 2025-07-20 15:52:38 -04:00
commit cec4a94197
No known key found for this signature in database
3 changed files with 9 additions and 6 deletions

View file

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

View file

@ -1,5 +1,5 @@
{ {
vim.lazy.plugins.undotree = { vim.lazy.plugins.utility.undotree = {
package = "undotree"; package = "undotree";
cmd = [ cmd = [
"UndotreeToggle" "UndotreeToggle"

View file

@ -1,7 +1,7 @@
{lib, ...}: let {lib, ...}: let
inherit (lib.options) mkEnableOption; inherit (lib.options) mkEnableOption;
in { in {
options.vim.undotree = { options.vim.utility.undotree = {
enable = mkEnableOption "undo history visualizer for Vim [undotree]"; enable = mkEnableOption "undo history visualizer for Vim [undotree]";
}; };
} }