Highlight escape sequences in TypeScript/JavaScript (#7892)

Ran into this while hacking on TypeScript/React/TSX...

Release Notes:


- N/A

![screenshot-2024-02-16-07 03
56@2x](https://github.com/zed-industries/zed/assets/1185253/e6725a1e-7653-4316-abd0-280ea8818d66)
This commit is contained in:
Thorsten Ball 2024-02-16 09:12:39 +01:00 committed by GitHub
parent f4f72a1136
commit ae577c9d5c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 7 additions and 1 deletions

View file

@ -77,6 +77,8 @@
(template_string)
] @string
(escape_sequence) @string.escape
(regex) @string.regex
(number) @number

View file

@ -80,6 +80,8 @@
(template_string)
] @string
(escape_sequence) @string.escape
(regex) @string.regex
(number) @number

View file

@ -80,6 +80,8 @@
(template_string)
] @string
(escape_sequence) @string.escape
(regex) @string.regex
(number) @number