Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/php/textobjects.scm')
-rw-r--r--runtime/queries/php/textobjects.scm24
1 files changed, 3 insertions, 21 deletions
diff --git a/runtime/queries/php/textobjects.scm b/runtime/queries/php/textobjects.scm
index e721b864..51abe5c7 100644
--- a/runtime/queries/php/textobjects.scm
+++ b/runtime/queries/php/textobjects.scm
@@ -21,32 +21,14 @@
(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.around) @parameter.around)
-
-(arguments
- ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
+ ] @parameter.inside)
(comment) @comment.inside
(comment)+ @comment.around
-
-(array_creation_expression
- (array_element_initializer
- (_) @entry.inside
- ) @entry.around @entry.movement)
-
-(list_literal
- (_) @entry.inside @entry.around @entry.movement)
-
-[
- (enum_case)
-] @entry.around @entry.movement