feat(ecma): highlight regex flags

This commit is contained in:
Sergio A. Vargas 2023-07-10 13:13:17 -05:00 committed by GitHub
parent f2efc5f357
commit 90581acf87
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -193,6 +193,7 @@
(template_string) @string
(escape_sequence) @string.escape
(regex_pattern) @string.regex
(regex_flags) @character.special
(regex "/" @punctuation.bracket) ; Regex delimiters
(number) @number