mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-25 10:18:36 +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
|
@ -13,9 +13,8 @@ in
|
|||
meta.maintainers = [ maintainers.GaetanLepage ];
|
||||
|
||||
options.plugins.cmp-fish = {
|
||||
fishPackage = helpers.mkPackageOption {
|
||||
name = "fish";
|
||||
default = pkgs.fish;
|
||||
fishPackage = lib.mkPackageOption pkgs "fish" {
|
||||
nullable = true;
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
@ -16,11 +16,14 @@ helpers.neovim-plugin.mkNeovimPlugin {
|
|||
];
|
||||
|
||||
extraOptions = {
|
||||
# TODO: should this enable option be replaced with `nullable = true` in the package option?
|
||||
installArtifacts = mkEnableOption "and install coq-artifacts";
|
||||
artifactsPackage = mkOption {
|
||||
type = types.package;
|
||||
description = "Package to use for coq-artifacts (when enabled with installArtifacts)";
|
||||
default = pkgs.vimPlugins.coq-artifacts;
|
||||
artifactsPackage = mkPackageOption pkgs "coq-artifacts" {
|
||||
extraDescription = "Installed when `installArtifacts` is enabled.";
|
||||
default = [
|
||||
"vimPlugins"
|
||||
"coq-artifacts"
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue