mirror of
https://github.com/helix-editor/helix.git
synced 2025-04-05 20:07:44 +03:00
Add parameter.around
text object query
This commit is contained in:
parent
da29527258
commit
10463fe32c
5 changed files with 31 additions and 15 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue