highlights(lua): Organize function_call queries

This commit is contained in:
Sergio Alejandro Vargas 2021-07-21 13:28:35 -05:00 committed by Stephan Seitz
parent e29bf132dd
commit d8a1f3be65

View file

@ -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