mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 02:10:15 -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
|
;;; Assignments
|
||||||
|
|
||||||
(assignment
|
(left_hand_side
|
||||||
left: (expression_list
|
(identifier) @definition.var)
|
||||||
(identifier) @definition.var))
|
|
||||||
|
|
||||||
(assignment
|
(left_hand_side
|
||||||
left: (expression_list
|
(attribute
|
||||||
(attribute
|
(identifier)
|
||||||
(identifier)
|
(identifier) @definition.field))
|
||||||
(identifier) @definition.field)))
|
|
||||||
|
|
||||||
; Walrus operator x := 1
|
; Walrus operator x := 1
|
||||||
(named_expression
|
(named_expression
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue