summary refs log tree commit diff
path: root/bin
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
commit8dbe7a1939daec1b491c733786811c4c9198302a (patch)
tree6793e0b454320bc5730a2d440b00d9f30fad549d /bin
parentHighlight strings in sh command substitutions (diff)
downloadsrc-8dbe7a1939daec1b491c733786811c4c9198302a.tar.gz
src-8dbe7a1939daec1b491c733786811c4c9198302a.zip
Highlight Interp as yellow
Diffstat (limited to 'bin')
-rw-r--r--bin/hi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/hi.c b/bin/hi.c
index c1acdda4..4c78c740 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;",
 };