plugins: remove all use of lib.nixvim.mkPackageOption

This commit is contained in:
Matt Sturgeon 2024-09-03 15:40:46 +01:00
parent 84676128f8
commit ae3a2c9d10
No known key found for this signature in database
GPG key ID: 4F91844CED1A8299
28 changed files with 73 additions and 95 deletions

View file

@ -40,10 +40,9 @@ helpers.neovim-plugin.mkNeovimPlugin {
inherit settingsOptions settingsExample;
extraOptions = {
fzfPackage = helpers.mkPackageOption {
name = "fzf";
default = pkgs.fzf;
example = pkgs.skim;
fzfPackage = lib.mkPackageOption pkgs "fzf" {
nullable = true;
example = "pkgs.skim";
};
# TODO: deprecated 2024-08-29 remove after 24.11

View file

@ -10,7 +10,6 @@ let
defaultNullOpts
keymaps
mkNullOrOption'
mkPackageOption
transitionType
;
types = lib.nixvim.nixvimTypes;
@ -405,9 +404,8 @@ lib.nixvim.neovim-plugin.mkNeovimPlugin {
todoTelescope = "TodoTelescope";
};
ripgrepPackage = mkPackageOption {
name = "ripgrep";
default = pkgs.ripgrep;
ripgrepPackage = lib.mkPackageOption pkgs "ripgrep" {
nullable = true;
};
};

View file

@ -108,9 +108,8 @@ helpers.neovim-plugin.mkNeovimPlugin {
};
extraOptions = {
zkPackage = helpers.mkPackageOption {
name = "zk";
default = pkgs.zk;
zkPackage = lib.mkPackageOption pkgs "zk" {
nullable = true;
};
};
extraConfig = cfg: {