mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-23 17:28:39 +02:00
plugins: remove all use of lib.nixvim.mkPackageOption
This commit is contained in:
parent
84676128f8
commit
ae3a2c9d10
28 changed files with 73 additions and 95 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue