aboutsummaryrefslogtreecommitdiffstats
path: root/queries/python/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'queries/python/highlights.scm')
-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 54ad82b09..fe66d7ca3 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -240,8 +240,6 @@
[
"assert"
- "async"
- "await"
"class"
"exec"
"global"
@@ -253,6 +251,11 @@
] @keyword
[
+ "async"
+ "await"
+] @keyword.coroutine
+
+[
"return"
"yield"
] @keyword.return