utility/telescope: add plenary-nvim to explicit dependencies

This commit is contained in:
NotAShelf 2024-04-14 19:11:40 +03:00
parent 7ef583aeee
commit 7cb47c71b3
No known key found for this signature in database
GPG key ID: 02D1DD3FA08B6B29
2 changed files with 4 additions and 3 deletions

View file

@ -4,7 +4,7 @@
... ...
}: let }: let
inherit (builtins) map mapAttrs toJSON filter; inherit (builtins) map mapAttrs toJSON filter;
inherit (lib.options) mkOption; inherit (lib.options) mkOption mkEnableOption;
inherit (lib.attrsets) filterAttrs getAttrs attrValues attrNames; inherit (lib.attrsets) filterAttrs getAttrs attrValues attrNames;
inherit (lib.strings) optionalString isString concatStringsSep; inherit (lib.strings) optionalString isString concatStringsSep;
inherit (lib.misc) mapAttrsFlatten; 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 experimental Lua module loader to speed up the start up process
''; '';
}; };

View file

@ -1,6 +1,6 @@
{ {
pkgs,
config, config,
pkgs,
lib, lib,
... ...
}: let }: let
@ -19,6 +19,7 @@ in {
config = mkIf (cfg.enable) { config = mkIf (cfg.enable) {
vim.startPlugins = [ vim.startPlugins = [
"telescope" "telescope"
"plenary-nvim"
]; ];
vim.maps.normal = mkMerge [ vim.maps.normal = mkMerge [