summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/hi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 38810d51..80fe2864 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -257,6 +257,8 @@ static const struct Syntax ShSyntax[] = {
 		.pattern = "[\\][\"$\\`]" },
 	{ Interp, .parent = ~SET(Escape),
 		.pattern = "[$][(][^)]*[)]" "|" "`[^`]*`" },
+	{ Interp, .parent = ~SET(Escape),
+		.pattern = "[$][(][(]([^)]|[)][^)])*[)][)]" },
 	{ String, .parent = SET(Interp),
 		.pattern = PATTERN_DQ },
 	{ Interp, .parent = ~SET(Escape),