summary refs log tree commit diff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index 9bc6aaa2..50ce9109 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -161,7 +161,7 @@ static const struct Syntax MakeSyntax[] = {
 		.pattern = "[$][{](" "[^$}]" "|" "[$][{][^}]*[}]" ")*[}]" },
 	{ Escape,
 		.pattern = "[$][$]" },
-	{ Comment,
+	{ Comment, .parent = ~SET(String),
 		.pattern = "#.*" },
 	{ Todo, .parent = SET(Comment),
 		.pattern = PATTERN_TODO },