mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-22 05:10:04 -04:00
fix(python): highlight @variable.member correctly for member access context
This commit is contained in:
parent
457195a886
commit
03a7707405
1 changed files with 2 additions and 1 deletions
|
|
@ -25,7 +25,8 @@
|
|||
|
||||
((attribute
|
||||
attribute: (identifier) @variable.member)
|
||||
(#lua-match? @variable.member "^[%l_].*$"))
|
||||
(#lua-match? @variable.member "^[%l_].*$")
|
||||
(#set! "priority" 101))
|
||||
|
||||
((assignment
|
||||
left: (identifier) @type.definition
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue