aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/typescript
diff options
context:
space:
mode:
authorJake Langford2022-07-06 13:54:07 +0000
committerGitHub2022-07-06 13:54:07 +0000
commit230ba264bf78d9b4ecd42440f0cbb20529f9c235 (patch)
tree5dc84b7ee53ef7049912d1e7a3851d95a0df6df4 /runtime/queries/typescript
parente35abe38f31149785ea04dc8a8fc1d2649ba70af (diff)
Introduce storage highlighting for typescript/javascript (#2961)
Diffstat (limited to 'runtime/queries/typescript')
-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