mirror of
https://github.com/NotAShelf/nvf.git
synced 2025-09-05 18:01:32 +00:00
utility/undotree: moved undotree to utility object
This commit is contained in:
parent
0a1dda51d0
commit
cec4a94197
3 changed files with 9 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{
|
||||
vim.lazy.plugins.undotree = {
|
||||
vim.lazy.plugins.utility.undotree = {
|
||||
package = "undotree";
|
||||
cmd = [
|
||||
"UndotreeToggle"
|
||||
|
|
|
@ -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]";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue