mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-16 15:31:52 +02:00
plugins/utils/project-nvim: take ownership of telescope integration (#1236)
This commit is contained in:
parent
c2cd3cb7a1
commit
29b6ede12f
4 changed files with 30 additions and 17 deletions
|
@ -14,7 +14,6 @@ in {
|
|||
./fzf-native.nix
|
||||
./fzy-native.nix
|
||||
./media-files.nix
|
||||
./project-nvim.nix
|
||||
./ui-select.nix
|
||||
./undo.nix
|
||||
];
|
||||
|
|
|
@ -1,16 +0,0 @@
|
|||
{
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
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"];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue