From 0094f82d3588909d2fd2ec48eebcafa6cbb4c502 Mon Sep 17 00:00:00 2001 From: Haseeb Majid Date: Sat, 21 Oct 2023 10:40:49 +0100 Subject: [PATCH] plugins/harpoon: fix telescope integration (#656) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix harpoon * fix telescope harpoon * fix telescope harpoon * Update plugins/utils/harpoon.nix Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> --------- Co-authored-by: Gaétan Lepage <33058747+GaetanLepage@users.noreply.github.com> --- plugins/utils/harpoon.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/utils/harpoon.nix b/plugins/utils/harpoon.nix index 5eb8e833..9fad500b 100644 --- a/plugins/utils/harpoon.nix +++ b/plugins/utils/harpoon.nix @@ -27,7 +27,7 @@ in { package = helpers.mkPackageOption "harpoon" pkgs.vimPlugins.harpoon; - enableTelescope = mkEnableOption "Enable telescope integration"; + enableTelescope = mkEnableOption "telescope integration"; keymapsSilent = mkOption { type = types.bool; @@ -202,7 +202,7 @@ in { mkIf cfg.enable { assertions = [ { - assertion = config.plugins.telescope.enable -> cfg.enableTelescope; + assertion = cfg.enableTelescope -> config.plugins.telescope.enable; message = ''Nixvim: The harpoon telescope integration needs telescope to function as intended''; } ];