From bc6e246e1c9b602e4a457ad94e8c2b9413a07665 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Wed, 29 Dec 2021 09:02:14 -0600 Subject: [PATCH] fix fallthrough behavior for character classes --- runtime/queries/regex/highlights.scm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/runtime/queries/regex/highlights.scm b/runtime/queries/regex/highlights.scm index 57c605be70a14..2e41feb224855 100644 --- a/runtime/queries/regex/highlights.scm +++ b/runtime/queries/regex/highlights.scm @@ -45,5 +45,6 @@ [ "^" @operator (class_range "-" @operator) - (class_character) @constant.character ]) + +(class_character) @constant.character