Skip to content

Commit

Permalink
[language-typescript] Highlight escape characters
Browse files Browse the repository at this point in the history
  • Loading branch information
savetheclocktower committed Feb 1, 2024
1 parent b6abe2c commit 3be2023
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions packages/language-typescript/grammars/common/highlights.scm
Original file line number Diff line number Diff line change
Expand Up @@ -726,6 +726,13 @@
"}" @punctuation.definition.template-expression.end._LANG_
) @meta.embedded.line.interpolation._LANG_

(string
(escape_sequence) @constant.character.escape.js)

(template_string
(escape_sequence) @constant.character.escape.js)


; CONSTANTS
; =========

Expand Down

0 comments on commit 3be2023

Please sign in to comment.