mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 04:50:03 -04:00
Update Python queries
This commit is contained in:
parent
47fae4eff8
commit
b3a3403e25
2 changed files with 40 additions and 12 deletions
|
|
@ -224,8 +224,14 @@
|
|||
body: (block
|
||||
(expression_statement
|
||||
(assignment
|
||||
left: (left_hand_side
|
||||
(identifier) @field)))))
|
||||
left: (identifier) @field))))
|
||||
(#vim-match? @field "^([A-Z])@!.*$"))
|
||||
((class_definition
|
||||
body: (block
|
||||
(expression_statement
|
||||
(assignment
|
||||
left: (_
|
||||
(identifier) @field)))))
|
||||
(#vim-match? @field "^([A-Z])@!.*$"))
|
||||
|
||||
((class_definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue