Regex highlights: Add constant highlight for class_character

This commit is contained in:
Stephan Seitz 2020-12-28 18:20:11 +01:00 committed by Thomas Vigouroux
parent e8fa1c2c84
commit 43381c1321
2 changed files with 4 additions and 2 deletions

View file

@ -114,6 +114,7 @@ are optional and will not have any effect for now.
@constant.macro
@string
@string.regex
@string.regex-classchar
@string.escape
@string.special
@character

View file

@ -17,10 +17,11 @@
;; These are escaped special characters that lost their special meaning
;; -> no special highlighting
; (identity_escape)
(identity_escape) @string.regex
(class_character) @constant
[
(identity_escape)
(control_letter_escape)
(character_class_escape)
(control_escape)