mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-03 20:10:10 -04:00
also match variable names to be @type when uppercased
This commit is contained in:
parent
1340375c90
commit
b3a1ae3210
1 changed files with 3 additions and 0 deletions
|
|
@ -23,4 +23,7 @@
|
|||
(jsx_self_closing_element ((identifier) @type
|
||||
(#match? @type "^[A-Z]")))
|
||||
|
||||
(variable_declarator ((identifier) @type
|
||||
(#match? @type "^[A-Z]")))
|
||||
|
||||
(jsx_text) @none
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue