aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/typescript/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/typescript/highlights.scm')
-rw-r--r--runtime/queries/typescript/highlights.scm16
1 files changed, 11 insertions, 5 deletions
diff --git a/runtime/queries/typescript/highlights.scm b/runtime/queries/typescript/highlights.scm
index a3212a3d..a424d100 100644
--- a/runtime/queries/typescript/highlights.scm
+++ b/runtime/queries/typescript/highlights.scm
@@ -22,15 +22,21 @@
[
"abstract"
"declare"
- "enum"
"export"
"implements"
- "interface"
"keyof"
"namespace"
+] @keyword
+
+[
+ "type"
+ "interface"
+ "enum"
+] @keyword.storage.type
+
+[
+ "public"
"private"
"protected"
- "public"
- "type"
"readonly"
-] @keyword
+] @keyword.storage.modifier \ No newline at end of file