mirror of
https://github.com/nix-community/nixvim.git
synced 2025-06-27 19:18:57 +02:00
parent
6484938d4b
commit
9b9912077e
2 changed files with 23 additions and 7 deletions
|
@ -22,9 +22,10 @@ with lib; let
|
|||
description = "Type of section";
|
||||
};
|
||||
|
||||
val = mkOption {
|
||||
type = with helpers.nixvimTypes;
|
||||
oneOf [
|
||||
val =
|
||||
helpers.mkNullOrOption
|
||||
(with helpers.nixvimTypes;
|
||||
nullOr (oneOf [
|
||||
# "button", "text"
|
||||
str
|
||||
# "padding"
|
||||
|
@ -36,10 +37,8 @@ with lib; let
|
|||
# "group"
|
||||
(attrsOf anything)
|
||||
))
|
||||
];
|
||||
default = null;
|
||||
description = "Value for section";
|
||||
};
|
||||
]))
|
||||
"Value for section";
|
||||
|
||||
opts = mkOption {
|
||||
type = with types; attrsOf anything;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue