mirror of
https://github.com/nix-community/nixvim.git
synced 2025-12-01 14:41:05 +01:00
plugins/telekasten: remove obsolete dependencies
Signed-off-by: saygo-png <saygo.mail@proton.me>
This commit is contained in:
parent
4c4cac6445
commit
f7a8a6b521
1 changed files with 0 additions and 21 deletions
|
|
@ -1,7 +1,5 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
lib.nixvim.plugins.mkNeovimPlugin {
|
||||
|
|
@ -14,23 +12,4 @@ lib.nixvim.plugins.mkNeovimPlugin {
|
|||
settingsExample = {
|
||||
home.__raw = ''vim.fn.expand("~/zettelkasten")'';
|
||||
};
|
||||
|
||||
# TODO: Remove once nixpkgs #349346 lands, since it will have plenary-nvim as
|
||||
# a dependency.
|
||||
extraOptions = {
|
||||
plenaryPackage = lib.mkPackageOption pkgs.vimPlugins "plenary-nvim" { nullable = true; };
|
||||
};
|
||||
|
||||
# TODO: Remove once nixpkgs #349346 lands, since it will have telescope-nvim
|
||||
# as a dependency.
|
||||
extraConfig = cfg: {
|
||||
assertions = lib.nixvim.mkAssertions "plugins.telekasten" {
|
||||
assertion = config.plugins.telescope.enable;
|
||||
message = ''
|
||||
You have to enable `plugins.telescope` as `enableTelescope` is activated.
|
||||
'';
|
||||
};
|
||||
|
||||
extraPlugins = [ cfg.plenaryPackage ];
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue