aboutsummaryrefslogtreecommitdiffstats
path: root/queries/hack/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/hack/highlights.scm')
-rw-r--r--queries/hack/highlights.scm11
1 files changed, 7 insertions, 4 deletions
diff --git a/queries/hack/highlights.scm b/queries/hack/highlights.scm
index 35d71e722..bb9d2a55c 100644
--- a/queries/hack/highlights.scm
+++ b/queries/hack/highlights.scm
@@ -22,12 +22,8 @@
"function" @keyword.function
[
- "type"
- "interface"
"implements"
- "class"
"using"
- "namespace"
"attribute"
"const"
"extends"
@@ -35,6 +31,13 @@
] @keyword
[
+ "class"
+ "type"
+ "interface"
+ "namespace"
+] @keyword.type
+
+[
"async"
"await"
] @keyword.coroutine