mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-05 21:10:15 -04:00
Fix identifier type check
This commit is contained in:
parent
ec9ee2757d
commit
15f27cf301
1 changed files with 2 additions and 1 deletions
|
|
@ -30,7 +30,8 @@
|
|||
(#match? @type "^[A-Z]"))
|
||||
((identifier) @constant
|
||||
(#match? @constant "^[A-Z][A-Z_0-9]*$"))
|
||||
((identifier) @type . ".")
|
||||
((identifier) @type
|
||||
(#match? @type "^[A-Z][A-Z_0-9]*$") . (_))
|
||||
|
||||
((attribute
|
||||
(identifier) @field)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue