more mapAttrs

because diniamo loves it so much
This commit is contained in:
Charlie Root 2024-10-09 00:08:30 +02:00
parent 7c01a7c875
commit e9f9353c45
No known key found for this signature in database

View file

@ -155,13 +155,17 @@ in {
default = cfg.transparent; default = cfg.transparent;
internal = true; internal = true;
}; };
italic = { italic =
strings = mkEnableOption' "strings"; {
emphasis = mkEnableOption' "emphasis";
comments = mkEnableOption' "comments";
operators = mkEnableOption "operators"; operators = mkEnableOption "operators";
folds = mkEnableOption' "folds"; }
}; // genAttrs [
"strings"
"emphasis"
"comments"
"folds"
] (name: mkEnableOption' name);
contrast = mkOption { contrast = mkOption {
type = str; type = str;
default = ""; default = "";