mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 08:35:43 +02:00
plugins/git-worktree: adapt implem to the underlying plugin change
This commit is contained in:
parent
8176b3f52e
commit
3d84c137ea
1 changed files with 5 additions and 0 deletions
|
@ -56,6 +56,9 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
callSetup = false;
|
||||||
|
hasLuaConfig = false;
|
||||||
|
settingsDescription = "Plugin configuration (`vim.g.git_worktree`).";
|
||||||
extraConfig =
|
extraConfig =
|
||||||
cfg:
|
cfg:
|
||||||
lib.mkIf cfg.enable {
|
lib.mkIf cfg.enable {
|
||||||
|
@ -69,6 +72,8 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
||||||
extraPackages = [ cfg.gitPackage ];
|
extraPackages = [ cfg.gitPackage ];
|
||||||
|
|
||||||
plugins.telescope.enabledExtensions = lib.mkIf cfg.enableTelescope [ "git_worktree" ];
|
plugins.telescope.enabledExtensions = lib.mkIf cfg.enableTelescope [ "git_worktree" ];
|
||||||
|
|
||||||
|
globals.git_worktree = cfg.settings;
|
||||||
};
|
};
|
||||||
|
|
||||||
inherit (import ./deprecations.nix) optionsRenamedToSettings;
|
inherit (import ./deprecations.nix) optionsRenamedToSettings;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue