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)
|
(template_string)
|
||||||
] @string
|
] @string
|
||||||
|
|
||||||
|
(escape_sequence) @string.escape
|
||||||
|
|
||||||
(regex) @string.regex
|
(regex) @string.regex
|
||||||
(number) @number
|
(number) @number
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,8 @@
|
|||||||
(template_string)
|
(template_string)
|
||||||
] @string
|
] @string
|
||||||
|
|
||||||
|
(escape_sequence) @string.escape
|
||||||
|
|
||||||
(regex) @string.regex
|
(regex) @string.regex
|
||||||
(number) @number
|
(number) @number
|
||||||
|
|
||||||
|
|||||||
@@ -80,6 +80,8 @@
|
|||||||
(template_string)
|
(template_string)
|
||||||
] @string
|
] @string
|
||||||
|
|
||||||
|
(escape_sequence) @string.escape
|
||||||
|
|
||||||
(regex) @string.regex
|
(regex) @string.regex
|
||||||
(number) @number
|
(number) @number
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user