mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-21 00:25:42 +02:00
16 lines
323 B
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"];
|
|
};
|
|
}
|