mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +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 =
|
||||
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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue