summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rw-r--r--bin/hi.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/hi.c b/bin/hi.c
index b59a88e9..7e19f3fc 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),