aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSantos Gallegos <stsewd@protonmail.com>2021-11-01 10:45:50 -0500
committerStephan Seitz <stephan.seitz@fau.de>2021-11-01 16:54:46 +0100
commitdf06643aa1fbf236d0dc3e3c964379bb4902f90c (patch)
treee2e517b5e820b3a76cc1b646db983bb9d06d011d
parentUpdate lockfile.json (diff)
downloadnvim-treesitter-df06643aa1fbf236d0dc3e3c964379bb4902f90c.tar
nvim-treesitter-df06643aa1fbf236d0dc3e3c964379bb4902f90c.tar.gz
nvim-treesitter-df06643aa1fbf236d0dc3e3c964379bb4902f90c.tar.bz2
nvim-treesitter-df06643aa1fbf236d0dc3e3c964379bb4902f90c.tar.lz
nvim-treesitter-df06643aa1fbf236d0dc3e3c964379bb4902f90c.tar.xz
nvim-treesitter-df06643aa1fbf236d0dc3e3c964379bb4902f90c.tar.zst
nvim-treesitter-df06643aa1fbf236d0dc3e3c964379bb4902f90c.zip
Revert "feat: add `del` keyword for highlights"
This reverts commit 385193d41fe6b74fe0e3698588ae54545d1cd88b.
-rw-r--r--queries/python/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm
index 6954ae25c..97aeabb04 100644
--- a/queries/python/highlights.scm
+++ b/queries/python/highlights.scm
@@ -77,7 +77,7 @@
function: (identifier) @function.builtin)
(any-of? @function.builtin
"abs" "all" "any" "ascii" "bin" "bool" "breakpoint" "bytearray" "bytes" "callable" "chr" "classmethod"
- "compile" "complex" "del" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "exec" "filter" "float" "format"
+ "compile" "complex" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "exec" "filter" "float" "format"
"frozenset" "getattr" "globals" "hasattr" "hash" "help" "hex" "id" "input" "int" "isinstance" "issubclass"
"iter" "len" "list" "locals" "map" "max" "memoryview" "min" "next" "object" "oct" "open" "ord" "pow"
"print" "property" "range" "repr" "reversed" "round" "set" "setattr" "slice" "sorted" "staticmethod" "str"
@@ -265,7 +265,7 @@
body: (block
(expression_statement
(assignment
- left: (_
+ left: (_
(identifier) @field)))))
(#match? @field "^([A-Z])@!.*$"))