diff options
author | Gabriel Dinner-David | 2022-11-11 05:42:56 +0000 |
---|---|---|
committer | GitHub | 2022-11-11 05:42:56 +0000 |
commit | 7367abd6c6f764b45802613ca9c46e921b4394e6 (patch) | |
tree | d768005fe07d31c429d6b1fe128cd76a7cd87816 /runtime/queries/typescript | |
parent | bb5a122cdef79978f7ec770f30da914eee5bb9f3 (diff) |
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 <blaz@mxxn.io>
Diffstat (limited to 'runtime/queries/typescript')
-rw-r--r-- | runtime/queries/typescript/highlights.scm | 13 |
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 |