Add parameter.around text object query

This commit is contained in:
Andrey Tkachenko 2022-05-23 16:24:30 +04:00 committed by Blaž Hrastnik
parent da29527258
commit 10463fe32c
5 changed files with 31 additions and 15 deletions

View file

@ -21,13 +21,19 @@
(anonymous_function_creation_expression
body: (_) @function.inside) @function.around
(anonymous_function_use_clause
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(formal_parameters
[
([
(simple_parameter)
(variadic_parameter)
(property_promotion_parameter)
] @parameter.inside)
] @parameter.inside . ","? @parameter.around) @parameter.around)
(arguments
((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside