summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--bin/hi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c
index a60a0064..8b4bb5c9 100644
--- a/bin/hi.c
+++ b/bin/hi.c
@@ -94,7 +94,7 @@ static const struct Syntax CSyntax[] = {
 	{ Tag, .subexp = 2,
 		.pattern = "(enum|struct|union)" SP1 "(" PATTERN_ID ")" SP0 "[{]" },
 	{ Tag, .parent = ~SET(Keyword), .newline = true, .subexp = 1,
-		.pattern = "(" PATTERN_ID ")" SP0 "[(][^)]*[)]" SP0 "[{]" },
+		.pattern = "(" PATTERN_ID ")" SP0 "[(][^()]*[)]" SP0 "[{]" },
 	{ Tag, .newline = true, .subexp = 3, .pattern =
 		"(static|typedef)" SP1
 		"(" "(" PATTERN_ID ")" SP0
2fbe2ad25affbfc42bbe3d3e129bd9b6829&follow=1'>Install html with -CJune McEnroe 2019-02-10Avoid excessive tags in ttpreJune McEnroe 2019-02-10Generate html for binsJune McEnroe 2019-02-10Use italic for underline in nvim man modeJune McEnroe This doesn't yet work in Terminal.app: <https://github.com/neovim/neovim/issues/9598>. 2019-02-10Add plain text "language" to hiJune McEnroe 2019-02-10Don't match DQ string inside SQ stringJune McEnroe 2019-02-10Skip only one character if a match fails due to parentJune McEnroe Really it should skip forward until the parent changes, but this is simpler. 2019-02-10Remove pattend from hiJune McEnroe 2019-02-10Replace uses of pattend with newline patternsJune McEnroe 2019-02-10Add hi debug outputJune McEnroe 2019-02-10Actually do HTML &quot; escapingJune McEnroe 2019-02-10Set git commit.verboseJune McEnroe 2019-02-10Add back missing static keywordJune McEnroe