mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-28 05:54:13 +02:00
project-nvim: init plugin (#55)
This commit is contained in:
parent
f0ad4cd2ec
commit
9658aaf990
5 changed files with 107 additions and 0 deletions
15
plugins/telescope/project-nvim.nix
Normal file
15
plugins/telescope/project-nvim.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{ 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" ];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue