aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/typescript
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/typescript')
-rw-r--r--runtime/queries/typescript/highlights.scm13
1 files changed, 13 insertions, 0 deletions
diff --git a/runtime/queries/typescript/highlights.scm b/runtime/queries/typescript/highlights.scm
index 7c15cf3d..fc8d110d 100644
--- a/runtime/queries/typescript/highlights.scm
+++ b/runtime/queries/typescript/highlights.scm
@@ -34,6 +34,7 @@
"implements"
"keyof"
"namespace"
+ "override"
] @keyword
[
@@ -62,3 +63,15 @@
((identifier) @type
(#match? @type "^[A-Z]"))
+
+; Literals
+
+[
+ (template_literal_type)
+] @string
+
+; Tokens
+
+(template_type
+ "${" @punctuation.special
+ "}" @punctuation.special) @embedded