mirror of
https://github.com/nix-community/nixvim.git
synced 2025-07-10 09:14:31 +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
|
@ -10,6 +10,7 @@ in
|
|||
./fzf-native.nix
|
||||
./fzy-native.nix
|
||||
./media-files.nix
|
||||
./project-nvim.nix
|
||||
];
|
||||
|
||||
# TODO:add support for aditional filetypes. This requires autocommands!
|
||||
|
|
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