1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-08 19:46:06 +01:00

modules/dependencies: add git

This commit is contained in:
Gaetan Lepage 2025-04-06 17:21:24 +02:00 committed by nix-infra-bot
parent 30c4d00b72
commit 9abe8fd025
26 changed files with 179 additions and 149 deletions

View file

@ -74,13 +74,13 @@ lib.nixvim.plugins.mkNeovimPlugin {
"enable"
]
) "yadm support was removed upstream.")
];
extraOptions = {
gitPackage = lib.mkPackageOption pkgs "git" {
nullable = true;
};
};
# TODO: added 2025-04-06, remove after 25.05
(lib.nixvim.mkRemovedPackageOptionModule {
plugin = "gitsigns";
packageName = "git";
})
];
settingsOptions = import ./settings-options.nix lib;
@ -112,6 +112,6 @@ lib.nixvim.plugins.mkNeovimPlugin {
'';
};
extraPackages = [ cfg.gitPackage ];
dependencies.git.enable = lib.mkDefault true;
};
}