diff --git a/modules/plugins/theme/supported-themes.nix b/modules/plugins/theme/supported-themes.nix index 5f32c00..0d42cc1 100644 --- a/modules/plugins/theme/supported-themes.nix +++ b/modules/plugins/theme/supported-themes.nix @@ -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 = "";