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.
# To list all available language module options, please visit the nvf manual.
languages = {
enableFormat = true; #
enableFormat = true;
enableTreesitter = true;
enableExtraDiagnostics = true;
@ -183,7 +183,7 @@ isMaximal: {
projects = {
project-nvim.enable = isMaximal;
};
undotree.enable = isMaximal;
utility = {
ccc.enable = false;
vim-wakatime.enable = false;
@ -194,7 +194,7 @@ isMaximal: {
leetcode-nvim.enable = isMaximal;
multicursors.enable = isMaximal;
smart-splits.enable = isMaximal;
undotree.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

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

View file

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