From 7367abd6c6f764b45802613ca9c46e921b4394e6 Mon Sep 17 00:00:00 2001 From: Gabriel Dinner-David Date: Fri, 11 Nov 2022 00:42:56 -0500 Subject: Update typescript grammar and queries (#4703) * fix(grammars): update treesitter grammar and queries * add override keyword * Update runtime/queries/typescript/highlights.scm Co-authored-by: Blaž Hrastnik --- runtime/queries/typescript/highlights.scm | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'runtime/queries/typescript') 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 -- cgit v1.2.3-70-g09d2