From 0b658114ef65c7aad46315840964d33003dcd5af Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Thu, 14 Mar 2019 19:07:54 -0400 Subject: Highlight line continuations in line comments --- bin/hi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bin/hi.c') diff --git a/bin/hi.c b/bin/hi.c index 3c312c4a..f3295217 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -117,7 +117,7 @@ static const struct Syntax CSyntax[] = { "[AEFGXacdefginopsux]" // format specifier }, { Comment, .parent = ~SET(String), - .pattern = "//.*" }, + .pattern = "//(.|[\\]\n)*" }, { Comment, .parent = ~SET(String), .newline = true, .pattern = PATTERN_BC }, { Todo, .parent = SET(Comment), -- cgit 1.4.1