mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-24 17:58:38 +02:00
15 lines
332 B
Nix
15 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" ];
|
|
};
|
|
}
|