mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-22 08:53:28 +02:00
16 lines
332 B
Nix
16 lines
332 B
Nix
|
{ pkgs, config, lib, ...}:
|
||
|
with lib;
|
||
|
let
|
||
|
cfg = config.plugins.telescope.extensions.project-nvim;
|
||
|
in
|
||
|
{
|
||
|
options.plugins.telescope.extensions.project-nvim = {
|
||
|
enable = mkEnableOption "Enable project-nvim telescope extension";
|
||
|
|
||
|
};
|
||
|
|
||
|
config = mkIf cfg.enable {
|
||
|
plugins.telescope.enabledExtensions = [ "projects" ];
|
||
|
};
|
||
|
}
|