Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/ruby/textobjects.scm')
-rw-r--r--runtime/queries/ruby/textobjects.scm12
1 files changed, 12 insertions, 0 deletions
diff --git a/runtime/queries/ruby/textobjects.scm b/runtime/queries/ruby/textobjects.scm
index 2d48fa6f..123c5567 100644
--- a/runtime/queries/ruby/textobjects.scm
+++ b/runtime/queries/ruby/textobjects.scm
@@ -42,3 +42,15 @@
; Comments
(comment) @comment.inside
(comment)+ @comment.around
+
+(pair
+ (_) @entry.inside) @entry.around
+
+(array
+ (_) @entry.around)
+
+(string_array
+ (_) @entry.around)
+
+(symbol_array
+ (_) @entry.around)