mirror of
https://github.com/zed-industries/zed.git
synced 2025-02-09 03:57:39 +00:00
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:
parent
f4f72a1136
commit
ae577c9d5c
3 changed files with 7 additions and 1 deletions
|
@ -77,6 +77,8 @@
|
|||
(template_string)
|
||||
] @string
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(regex) @string.regex
|
||||
(number) @number
|
||||
|
||||
|
|
|
@ -80,6 +80,8 @@
|
|||
(template_string)
|
||||
] @string
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(regex) @string.regex
|
||||
(number) @number
|
||||
|
||||
|
|
|
@ -80,6 +80,8 @@
|
|||
(template_string)
|
||||
] @string
|
||||
|
||||
(escape_sequence) @string.escape
|
||||
|
||||
(regex) @string.regex
|
||||
(number) @number
|
||||
|
||||
|
|
Loading…
Reference in a new issue