mirror of
https://github.com/nvim-treesitter/nvim-treesitter.git
synced 2026-07-02 11:36:54 -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
|
||||
|
||||
(function_call (identifier) @function . (arguments))
|
||||
(function_call [(identifier) @variable (_)] (method) @method . (arguments))
|
||||
(function_call (field_expression (property_identifier) @function) . (arguments))
|
||||
(function_call
|
||||
[((identifier) @variable (method) @method)
|
||||
((_) (method) @method)
|
||||
(identifier) @function
|
||||
(field_expression (property_identifier) @function)]
|
||||
. (arguments))
|
||||
|
||||
;; Parameters
|
||||
(parameters
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue