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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user