mirror of
https://github.com/NotAShelf/nvf.git
synced 2024-11-22 21:30:51 +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";
|
operators = mkEnableOption "operators";
|
||||||
comments = mkEnableOption' "comments";
|
}
|
||||||
operators = mkEnableOption "operators";
|
// genAttrs [
|
||||||
folds = mkEnableOption' "folds";
|
"strings"
|
||||||
};
|
"emphasis"
|
||||||
|
"comments"
|
||||||
|
"folds"
|
||||||
|
] (name: mkEnableOption' name);
|
||||||
|
|
||||||
contrast = mkOption {
|
contrast = mkOption {
|
||||||
type = str;
|
type = str;
|
||||||
default = "";
|
default = "";
|
||||||
|
|
Loading…
Reference in a new issue