aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephan Seitz <stephan.seitz@fau.de>2020-08-20 11:00:11 +0200
committerKiyan Yazdani <yazdani.kiyan@protonmail.com>2020-08-20 11:51:30 +0200
commit5c0ca925af3332769f04c122ecb5bb9a5ca36dd0 (patch)
treefd6cc0e8b857a30ca6cccef916374a916c9dfef4
parentChange self back to variable.builtin (diff)
downloadnvim-treesitter-5c0ca925af3332769f04c122ecb5bb9a5ca36dd0.tar
nvim-treesitter-5c0ca925af3332769f04c122ecb5bb9a5ca36dd0.tar.gz
nvim-treesitter-5c0ca925af3332769f04c122ecb5bb9a5ca36dd0.tar.bz2
nvim-treesitter-5c0ca925af3332769f04c122ecb5bb9a5ca36dd0.tar.lz
nvim-treesitter-5c0ca925af3332769f04c122ecb5bb9a5ca36dd0.tar.xz
nvim-treesitter-5c0ca925af3332769f04c122ecb5bb9a5ca36dd0.tar.zst
nvim-treesitter-5c0ca925af3332769f04c122ecb5bb9a5ca36dd0.zip
Python highlights: add additional operators
This is applies the upstream PR to our repo: https://github.com/tree-sitter/tree-sitter-python/pull/73
-rw-r--r--queries/python/highlights.scm7
1 files changed, 7 insertions, 0 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 44230a3e2..3ed34c655 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -131,13 +131,16 @@
"//="
"/="
"&"
+ "&="
"%"
"%="
"^"
+ "^="
"+"
"+="
"<"
"<<"
+ "<<="
"<="
"<>"
"="
@@ -145,7 +148,11 @@
">"
">="
">>"
+ ">>="
+ "@"
+ "@="
"|"
+ "|="
"~"
"and"
"in"