plugins/git-worktree: adapt implem to the underlying plugin change

This commit is contained in:
Gaetan Lepage 2025-03-22 00:57:48 +01:00 committed by github-actions[bot]
parent 8176b3f52e
commit 3d84c137ea

View file

@ -56,6 +56,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
};
};
callSetup = false;
hasLuaConfig = false;
settingsDescription = "Plugin configuration (`vim.g.git_worktree`).";
extraConfig =
cfg:
lib.mkIf cfg.enable {
@ -69,6 +72,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
extraPackages = [ cfg.gitPackage ];
plugins.telescope.enabledExtensions = lib.mkIf cfg.enableTelescope [ "git_worktree" ];
globals.git_worktree = cfg.settings;
};
inherit (import ./deprecations.nix) optionsRenamedToSettings;