summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2019-02-15 17:48:05 -0500
committerJune McEnroe <june@causal.agency>2019-02-15 17:48:05 -0500
commit4bd9899913e57409409a05cd1b4b50a1773d4ee1 (patch)
treef1fc882112f2631c3ae83d391a8c1ec88bb1317b
parentHighlight strings in sh command substitutions (diff)
downloadsrc-4bd9899913e57409409a05cd1b4b50a1773d4ee1.tar.gz
src-4bd9899913e57409409a05cd1b4b50a1773d4ee1.zip
Highlight Interp as yellow
-rw-r--r--bin/hi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 66d17254..505c506f 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -358,7 +358,7 @@ static const enum SGR ANSIStyle[ClassLen][3] = {
 	[String]  = { SGRCyan },
 	[Escape]  = { SGRDefault },
 	[Format]  = { SGRCyan, SGRBoldOn, SGRBoldOff },
-	[Interp]  = { SGRGreen },
+	[Interp]  = { SGRYellow },
 	[Comment] = { SGRBlue },
 	[Todo]    = { SGRBlue, SGRBoldOn, SGRBoldOff },
 };
@@ -492,7 +492,7 @@ static const char *HTMLStyle[ClassLen] = {
 	[Macro]    = "color: green;",
 	[String]   = "color: teal;",
 	[Format]   = "color: teal; font-weight: bold;",
-	[Interp]   = "color: green;",
+	[Interp]   = "color: olive;",
 	[Comment]  = "color: navy;",
 	[Todo]     = "color: navy; font-weight: bold;",
 };