From 7cb47c71b3ca1edc7d92eeea5ddb2db8235f00c8 Mon Sep 17 00:00:00 2001 From: NotAShelf Date: Sun, 14 Apr 2024 19:11:40 +0300 Subject: [PATCH] utility/telescope: add plenary-nvim to explicit dependencies --- modules/core/build/config.nix | 4 ++-- modules/plugins/utility/telescope/config.nix | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/modules/core/build/config.nix b/modules/core/build/config.nix index 8666784..c5dc826 100644 --- a/modules/core/build/config.nix +++ b/modules/core/build/config.nix @@ -4,7 +4,7 @@ ... }: let inherit (builtins) map mapAttrs toJSON filter; - inherit (lib.options) mkOption; + inherit (lib.options) mkOption mkEnableOption; inherit (lib.attrsets) filterAttrs getAttrs attrValues attrNames; inherit (lib.strings) optionalString isString concatStringsSep; inherit (lib.misc) mapAttrsFlatten; @@ -181,7 +181,7 @@ in { ''; }; - enableLuaLoader = lib.options.mkEnableOption '' + enableLuaLoader = mkEnableOption '' experimental Lua module loader to speed up the start up process ''; }; diff --git a/modules/plugins/utility/telescope/config.nix b/modules/plugins/utility/telescope/config.nix index 73bf759..0ed553a 100644 --- a/modules/plugins/utility/telescope/config.nix +++ b/modules/plugins/utility/telescope/config.nix @@ -1,6 +1,6 @@ { - pkgs, config, + pkgs, lib, ... }: let @@ -19,6 +19,7 @@ in { config = mkIf (cfg.enable) { vim.startPlugins = [ "telescope" + "plenary-nvim" ]; vim.maps.normal = mkMerge [