mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-31 08:05:23 +02:00
modules/dependencies: add git
This commit is contained in:
parent
30c4d00b72
commit
9abe8fd025
26 changed files with 179 additions and 149 deletions
|
@ -43,7 +43,14 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
"alwaysDivideMiddle"
|
||||
];
|
||||
in
|
||||
mkSettingsRenamedOptionModules basePluginPath optionsPath oldOptions;
|
||||
(mkSettingsRenamedOptionModules basePluginPath optionsPath oldOptions)
|
||||
++ [
|
||||
# TODO: added 2025-04-06, remove after 25.05
|
||||
(lib.nixvim.mkRemovedPackageOptionModule {
|
||||
plugin = "lualine";
|
||||
packageName = "git";
|
||||
})
|
||||
];
|
||||
|
||||
settingsOptions =
|
||||
let
|
||||
|
@ -400,13 +407,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
};
|
||||
};
|
||||
|
||||
extraOptions = {
|
||||
gitPackage = lib.mkPackageOption pkgs "git" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
|
||||
extraConfig = cfg: {
|
||||
extraPackages = [ cfg.gitPackage ];
|
||||
extraConfig = {
|
||||
dependencies.git.enable = lib.mkDefault true;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue