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