aboutsummaryrefslogtreecommitdiffstats
path: root/runtime
diff options
context:
space:
mode:
authorChristian Clason <c.clason@uni-graz.at>2025-09-17 18:08:02 +0200
committerChristian Clason <ch.clason+github@icloud.com>2025-09-17 18:30:32 +0200
commit1c760c1888f5e7474d1ae222f0638cb3b731629b (patch)
treef879b3a55bc05a311d1b89c3612e7489d2c98d50 /runtime
parentdocs(health): consistent use of `tree-sitter-cli` (diff)
downloadnvim-treesitter-1c760c1888f5e7474d1ae222f0638cb3b731629b.tar
nvim-treesitter-1c760c1888f5e7474d1ae222f0638cb3b731629b.tar.gz
nvim-treesitter-1c760c1888f5e7474d1ae222f0638cb3b731629b.tar.bz2
nvim-treesitter-1c760c1888f5e7474d1ae222f0638cb3b731629b.tar.lz
nvim-treesitter-1c760c1888f5e7474d1ae222f0638cb3b731629b.tar.xz
nvim-treesitter-1c760c1888f5e7474d1ae222f0638cb3b731629b.tar.zst
nvim-treesitter-1c760c1888f5e7474d1ae222f0638cb3b731629b.zip
feat(parsers): update bash, c, cpp, desktop, djot, dtd, editorconfig, gdscript, go, html, idl, java, javadoc, javascript, json, markdown, markdown_inline, mlir, php, php_only, python, r, rust, scheme, ssh_config, supercollider, superhtml, systemverilog, templ, xml, xresources
Diffstat (limited to 'runtime')
-rw-r--r--runtime/queries/python/highlights.scm12
1 files changed, 5 insertions, 7 deletions
diff --git a/runtime/queries/python/highlights.scm b/runtime/queries/python/highlights.scm
index e5b9ac3aa..0cdc957d0 100644
--- a/runtime/queries/python/highlights.scm
+++ b/runtime/queries/python/highlights.scm
@@ -358,17 +358,15 @@
((class_definition
body: (block
- (expression_statement
- (assignment
- left: (identifier) @variable.member))))
+ (assignment
+ left: (identifier) @variable.member)))
(#lua-match? @variable.member "^[%l_].*$"))
((class_definition
body: (block
- (expression_statement
- (assignment
- left: (_
- (identifier) @variable.member)))))
+ (assignment
+ left: (_
+ (identifier) @variable.member))))
(#lua-match? @variable.member "^[%l_].*$"))
((class_definition