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;
internal = true;
};
italic = {
strings = mkEnableOption' "strings";
emphasis = mkEnableOption' "emphasis";
comments = mkEnableOption' "comments";
operators = mkEnableOption "operators";
folds = mkEnableOption' "folds";
};
italic =
{
operators = mkEnableOption "operators";
}
// genAttrs [
"strings"
"emphasis"
"comments"
"folds"
] (name: mkEnableOption' name);
contrast = mkOption {
type = str;
default = "";