Skip to content

Commit

Permalink
fix fallthrough behavior for character classes
Browse files Browse the repository at this point in the history
  • Loading branch information
the-mikedavis committed Dec 31, 2021
1 parent f414b7c commit 978f5fb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/queries/regex/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,6 @@
[
"^" @operator
(class_range "-" @operator)
(class_character) @constant.character
])

(class_character) @constant.character

0 comments on commit 978f5fb

Please sign in to comment.