mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-17 10:50:06 -04:00
parent
3bef806c18
commit
9eaf1840b3
1 changed files with 3 additions and 0 deletions
|
|
@ -71,6 +71,9 @@
|
||||||
function: (field_expression
|
function: (field_expression
|
||||||
field: (field_identifier) @function))
|
field: (field_identifier) @function))
|
||||||
|
|
||||||
|
((call_expression
|
||||||
|
function: (identifier) @constructor)
|
||||||
|
(#match? @constructor "^[A-Z]"))
|
||||||
((call_expression
|
((call_expression
|
||||||
function: (scoped_identifier
|
function: (scoped_identifier
|
||||||
name: (identifier) @constructor))
|
name: (identifier) @constructor))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue