mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-16 18:30:06 -04:00
highlights(lua): Organize function_call queries
This commit is contained in:
parent
e29bf132dd
commit
d8a1f3be65
1 changed files with 6 additions and 3 deletions
|
|
@ -132,9 +132,12 @@
|
||||||
|
|
||||||
(property_identifier) @property
|
(property_identifier) @property
|
||||||
|
|
||||||
(function_call (identifier) @function . (arguments))
|
(function_call
|
||||||
(function_call [(identifier) @variable (_)] (method) @method . (arguments))
|
[((identifier) @variable (method) @method)
|
||||||
(function_call (field_expression (property_identifier) @function) . (arguments))
|
((_) (method) @method)
|
||||||
|
(identifier) @function
|
||||||
|
(field_expression (property_identifier) @function)]
|
||||||
|
. (arguments))
|
||||||
|
|
||||||
;; Parameters
|
;; Parameters
|
||||||
(parameters
|
(parameters
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue