aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python')
-rw-r--r--queries/python/highlights.scm7
1 files changed, 5 insertions, 2 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 4737fd401..663fccf55 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -300,7 +300,6 @@
[
"assert"
- "class"
"exec"
"global"
"nonlocal"
@@ -308,10 +307,14 @@
"print"
"with"
"as"
- "type"
] @keyword
[
+ "type"
+ "class"
+] @keyword.type
+
+[
"async"
"await"
] @keyword.coroutine