1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-13 22:12:47 +01:00
nixvim/plugins/telescope/project-nvim.nix

16 lines
323 B
Nix

{
lib,
config,
...
}:
with lib; let
cfg = config.plugins.telescope.extensions.project-nvim;
in {
options.plugins.telescope.extensions.project-nvim = {
enable = mkEnableOption "project-nvim telescope extension";
};
config = mkIf cfg.enable {
plugins.telescope.enabledExtensions = ["projects"];
};
}