mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-01 19:17:02 -04:00
Python locals: account for https://github.com/tree-sitter/tree-sitter-python/pull/83
This commit is contained in:
parent
718fc1be3e
commit
58ec0bd7ef
1 changed files with 6 additions and 8 deletions
|
|
@ -78,15 +78,13 @@
|
|||
|
||||
;;; Assignments
|
||||
|
||||
(assignment
|
||||
left: (expression_list
|
||||
(identifier) @definition.var))
|
||||
(left_hand_side
|
||||
(identifier) @definition.var)
|
||||
|
||||
(assignment
|
||||
left: (expression_list
|
||||
(attribute
|
||||
(identifier)
|
||||
(identifier) @definition.field)))
|
||||
(left_hand_side
|
||||
(attribute
|
||||
(identifier)
|
||||
(identifier) @definition.field))
|
||||
|
||||
; Walrus operator x := 1
|
||||
(named_expression
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue