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 9d9f8a5bb..9bcfa183d 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -196,16 +196,19 @@
] @keyword.operator
[
+ "def"
+ "lambda"
+] @keyword.function
+
+[
"assert"
"async"
"await"
"class"
- "def"
"except"
"exec"
"finally"
"global"
- "lambda"
"nonlocal"
"pass"
"print"