mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
feat(python): revert breaking change
This reverts the update in https://github.com/nvim-treesitter/nvim-treesitter/pull/8128 which turned out to have further breaking consequences. Pin the parser to the last release (tier 1) to avoid pulling in more breaking changes.
This commit is contained in:
parent
c41b3b9841
commit
20fc6b1270
3 changed files with 10 additions and 8 deletions
|
|
@ -358,15 +358,17 @@
|
|||
|
||||
((class_definition
|
||||
body: (block
|
||||
(assignment
|
||||
left: (identifier) @variable.member)))
|
||||
(expression_statement
|
||||
(assignment
|
||||
left: (identifier) @variable.member))))
|
||||
(#lua-match? @variable.member "^[%l_].*$"))
|
||||
|
||||
((class_definition
|
||||
body: (block
|
||||
(assignment
|
||||
left: (_
|
||||
(identifier) @variable.member))))
|
||||
(expression_statement
|
||||
(assignment
|
||||
left: (_
|
||||
(identifier) @variable.member)))))
|
||||
(#lua-match? @variable.member "^[%l_].*$"))
|
||||
|
||||
((class_definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue