mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-26 15:06:45 +00:00
more mapAttrs
because diniamo loves it so much
This commit is contained in:
parent
7c01a7c875
commit
e9f9353c45
1 changed files with 11 additions and 7 deletions
|
@ -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 = "";
|
||||||
|
|
Loading…
Reference in a new issue