Highlight escape sequences in TypeScript/JavaScript (#7892)
Ran into this while hacking on TypeScript/React/TSX... Release Notes: - N/A 
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
|
||||
|
||||
|
@ -218,4 +220,4 @@
|
|||
"type"
|
||||
"readonly"
|
||||
"override"
|
||||
] @keyword
|
||||
] @keyword
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue