mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-15 01:40:02 -04:00
Python locals: with_statement can define variables
This commit is contained in:
parent
c361d65113
commit
a5fb463309
1 changed files with 4 additions and 0 deletions
|
|
@ -29,6 +29,10 @@
|
||||||
(typed_default_parameter
|
(typed_default_parameter
|
||||||
(identifier) @definition.var)
|
(identifier) @definition.var)
|
||||||
|
|
||||||
|
(with_statement
|
||||||
|
(with_item
|
||||||
|
alias: (identifier) @definition.var))
|
||||||
|
|
||||||
; *args parameter
|
; *args parameter
|
||||||
(parameters
|
(parameters
|
||||||
(list_splat
|
(list_splat
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue