nix-community.nixvim/plugins/telescope/project-nvim.nix

17 lines
323 B
Nix
Raw Permalink Normal View History

2022-10-25 01:15:09 +02:00
{
lib,
config,
...
}:
with lib; let
cfg = config.plugins.telescope.extensions.project-nvim;
in {
2022-10-25 01:15:09 +02:00
options.plugins.telescope.extensions.project-nvim = {
2023-01-22 03:32:08 +00:00
enable = mkEnableOption "project-nvim telescope extension";
2022-10-25 01:15:09 +02:00
};
config = mkIf cfg.enable {
plugins.telescope.enabledExtensions = ["projects"];
2022-10-25 01:15:09 +02:00
};
}