1
0
Fork 0
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:
saygo-png 2025-10-18 01:56:04 +02:00 committed by Matt Sturgeon
parent 4c4cac6445
commit f7a8a6b521

View file

@ -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 ];
};
}