mirror of
https://github.com/nix-community/nixvim.git
synced 2025-08-02 09:04:54 +02:00
helpers: add mkPackageOption + refactoring (#144)
This commit is contained in:
parent
b9a5c9c2b5
commit
b724085447
58 changed files with 94 additions and 258 deletions
|
@ -10,11 +10,7 @@ in
|
|||
options.plugins.mark-radar = {
|
||||
enable = mkEnableOption "mark-radar";
|
||||
|
||||
package = mkOption {
|
||||
type = types.package;
|
||||
default = defs.mark-radar;
|
||||
description = "Plugin to use for mark-radar";
|
||||
};
|
||||
package = helpers.mkPackageOption "mark-radar" pkgs.vimPlugins.mark-radar;
|
||||
|
||||
highlight_background = mkOption {
|
||||
type = with types; nullOr bool;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue