aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/python/highlights.scm
diff options
context:
space:
mode:
authorSkyler Hawthorne2023-12-04 08:26:11 +0000
committerGitHub2023-12-04 08:26:11 +0000
commitfcd564fddfa9b8f3fd7d02686e1f8b8a97a9f92b (patch)
tree70d43eff3303ea3f1ca99f0b784434858f214bf3 /runtime/queries/python/highlights.scm
parent455b206a8c1fee40e131728783f47dfe89018bd7 (diff)
upgrade tree-sitter-python (#8976)
supports new syntaxes from Python 3.12
Diffstat (limited to 'runtime/queries/python/highlights.scm')
-rw-r--r--runtime/queries/python/highlights.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm
index 0c6a83c5..2666402b 100644
--- a/runtime/queries/python/highlights.scm
+++ b/runtime/queries/python/highlights.scm
@@ -134,14 +134,17 @@
"//="
"/="
"&"
+ "&="
"%"
"%="
"^"
+ "^="
"+"
"->"
"+="
"<"
"<<"
+ "<<="
"<="
"<>"
"="
@@ -150,8 +153,11 @@
">"
">="
">>"
+ ">>="
"|"
+ "|="
"~"
+ "@="
] @operator
[