From 3d84c137eab329ec1a6d4c4b0a067bfa8eea0bb5 Mon Sep 17 00:00:00 2001 From: Gaetan Lepage Date: Sat, 22 Mar 2025 00:57:48 +0100 Subject: [PATCH] plugins/git-worktree: adapt implem to the underlying plugin change --- plugins/by-name/git-worktree/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/plugins/by-name/git-worktree/default.nix b/plugins/by-name/git-worktree/default.nix index 73c444e9..417fd95c 100644 --- a/plugins/by-name/git-worktree/default.nix +++ b/plugins/by-name/git-worktree/default.nix @@ -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;