aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--config.def.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/config.def.h b/config.def.h
index 27b8486..bf91b8d 100644
--- a/config.def.h
+++ b/config.def.h
@@ -1263,16 +1263,16 @@ static Syntax syntaxes[] = {{
"^[;#].*",
&colors[COLOR_COMMENT],
},{ /* value tag */
- "( |\t|^ )+?; :([^ ][^:]*:)+[ \\t]*$",
+ "( |\t|^ )*; :([^ ][^:]*:)+[ \\t]*$",
&colors[COLOR_DATATYPE],
},{ /* typed tag */
- "( |\t|^ )+?; [^:]+::.*",
+ "( |\t|^ )*; [^:]+::.*",
&colors[COLOR_DATATYPE],
},{ /* tag */
- "( |\t|^ )+?; [^:]+:.*",
+ "( |\t|^ )*; [^:]+:.*",
&colors[COLOR_TYPE],
},{ /* metadata */
- "( |\t|^ )+?;.*",
+ "( |\t|^ )*;.*",
&colors[COLOR_CONSTANT],
},{ /* date */
"^[0-9][^ \t]+",
@@ -1281,7 +1281,7 @@ static Syntax syntaxes[] = {{
"^[ \t]+[a-zA-Z:'!*()%&]+",
&colors[COLOR_IDENTIFIER]
},{ /* amount */
- "( |\t)[^;]+?",
+ "( |\t)[^;]*",
&colors[COLOR_LITERAL],
},{ /* automated transaction */
"^[=~].*",