mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-30 06:39:56 +02:00
plugins: remove all uses of lib.nixvim.mkPluginPackageOption
This commit is contained in:
parent
ae3a2c9d10
commit
7409e80bd2
77 changed files with 462 additions and 77 deletions
|
@ -19,7 +19,12 @@ in
|
|||
// {
|
||||
enable = mkEnableOption "copilot.lua";
|
||||
|
||||
package = helpers.mkPluginPackageOption "copilot.lua" pkgs.vimPlugins.copilot-lua;
|
||||
package = lib.mkPackageOption pkgs "copilot.lua" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"copilot-lua"
|
||||
];
|
||||
};
|
||||
|
||||
panel = {
|
||||
enabled = helpers.defaultNullOpts.mkBool true "Enable the panel.";
|
||||
|
|
|
@ -13,7 +13,12 @@ in
|
|||
options.plugins.coq-thirdparty = {
|
||||
enable = mkEnableOption "coq-thirdparty";
|
||||
|
||||
package = helpers.mkPluginPackageOption "coq-thirdparty" pkgs.vimPlugins.coq-thirdparty;
|
||||
package = lib.mkPackageOption pkgs "coq-thirdparty" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"coq-thirdparty"
|
||||
];
|
||||
};
|
||||
|
||||
sources = mkOption {
|
||||
type = types.listOf (
|
||||
|
|
|
@ -13,7 +13,12 @@ in
|
|||
options.plugins.lspkind = helpers.neovim-plugin.extraOptionsOptions // {
|
||||
enable = mkEnableOption "lspkind.nvim";
|
||||
|
||||
package = helpers.mkPluginPackageOption "lspkind" pkgs.vimPlugins.lspkind-nvim;
|
||||
package = lib.mkPackageOption pkgs "lspkind" {
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"lspkind-nvim"
|
||||
];
|
||||
};
|
||||
|
||||
mode = helpers.defaultNullOpts.mkEnum [
|
||||
"text"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue