mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-14 01:10:02 -04:00
fix(python): fields should not match uppercase-beginning names
This commit is contained in:
parent
1ca9b938c1
commit
9bfc966769
1 changed files with 1 additions and 1 deletions
|
|
@ -29,7 +29,7 @@
|
||||||
|
|
||||||
((attribute
|
((attribute
|
||||||
attribute: (identifier) @field)
|
attribute: (identifier) @field)
|
||||||
(#lua-match? @field "^.*%l.*$"))
|
(#lua-match? @field "^[%l_].*$"))
|
||||||
|
|
||||||
((assignment
|
((assignment
|
||||||
left: (identifier) @type.definition
|
left: (identifier) @type.definition
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue