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.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/queries/php/textobjects.scm b/runtime/queries/php/textobjects.scm
index e35eebd7..e721b864 100644
--- a/runtime/queries/php/textobjects.scm
+++ b/runtime/queries/php/textobjects.scm
@@ -38,3 +38,15 @@
(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