plugins/git-worktree: remove useless 'mkIf cfg.enable' in extraConfig

This commit is contained in:
Gaetan Lepage 2025-03-24 00:53:50 +01:00 committed by Gaétan Lepage
parent c6ed00c902
commit 2e9afffc28

View file

@ -59,9 +59,7 @@ lib.nixvim.plugins.mkNeovimPlugin {
callSetup = false;
hasLuaConfig = false;
settingsDescription = "Plugin configuration (`vim.g.git_worktree`).";
extraConfig =
cfg:
lib.mkIf cfg.enable {
extraConfig = cfg: {
assertions = lib.nixvim.mkAssertions "plugins.git-worktree" {
assertion = cfg.enableTelescope -> config.plugins.telescope.enable;
message = ''