Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'runtime/queries/v/textobjects.scm')
-rw-r--r--runtime/queries/v/textobjects.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/v/textobjects.scm b/runtime/queries/v/textobjects.scm
index 5015af17..c2f5ecef 100644
--- a/runtime/queries/v/textobjects.scm
+++ b/runtime/queries/v/textobjects.scm
@@ -22,6 +22,6 @@
(struct_field_declaration
((_) @parameter.inside) @parameter.around)
-(comment) @comment.inside
-(comment)+ @comment.around
+[(line_comment) (block_comment)] @comment.inside
+[(line_comment)+ (block_comment)+] @comment.around