plugins/harpoon: fix telescope integration (#656)

* 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>
This commit is contained in:
Haseeb Majid 2023-10-21 10:40:49 +01:00 committed by GitHub
parent 9832bc3f54
commit 0094f82d35
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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'';
}
];