mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-20 04:10:06 -04:00
fix(starlark): fields should not match uppercase-beginning names (#4734)
This commit is contained in:
parent
9bfc966769
commit
7133622c44
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