diff options
| author | Ashish Panigrahi <ashish.panigrahi@protonmail.com> | 2021-10-31 12:42:26 +0530 |
|---|---|---|
| committer | Stephan Seitz <stephan.seitz@fau.de> | 2021-11-01 13:19:27 +0100 |
| commit | 385193d41fe6b74fe0e3698588ae54545d1cd88b (patch) | |
| tree | 70cc6c6a18506a7ac1b5667c9bc4400d0ce10085 /queries/python/highlights.scm | |
| parent | D: fix duplicate `@namespace` capture (diff) | |
| download | nvim-treesitter-385193d41fe6b74fe0e3698588ae54545d1cd88b.tar nvim-treesitter-385193d41fe6b74fe0e3698588ae54545d1cd88b.tar.gz nvim-treesitter-385193d41fe6b74fe0e3698588ae54545d1cd88b.tar.bz2 nvim-treesitter-385193d41fe6b74fe0e3698588ae54545d1cd88b.tar.lz nvim-treesitter-385193d41fe6b74fe0e3698588ae54545d1cd88b.tar.xz nvim-treesitter-385193d41fe6b74fe0e3698588ae54545d1cd88b.tar.zst nvim-treesitter-385193d41fe6b74fe0e3698588ae54545d1cd88b.zip | |
feat: add `del` keyword for highlights
Diffstat (limited to 'queries/python/highlights.scm')
| -rw-r--r-- | queries/python/highlights.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/queries/python/highlights.scm b/queries/python/highlights.scm index 97aeabb04..6954ae25c 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" "delattr" "dict" "dir" "divmod" "enumerate" "eval" "exec" "filter" "float" "format" + "compile" "complex" "del" "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])@!.*$")) |
