1
0
Fork 0
mirror of https://github.com/nix-community/nixvim.git synced 2025-11-16 23:42:47 +01:00
nixvim/plugins/telescope/project-nvim.nix
2023-01-22 03:32:08 +00:00

15 lines
326 B
Nix

{ pkgs, config, lib, ... }:
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" ];
};
}