aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/c
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/c')
-rw-r--r--runtime/queries/c/textobjects.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/queries/c/textobjects.scm b/runtime/queries/c/textobjects.scm
index 45f554e2..2a3da66f 100644
--- a/runtime/queries/c/textobjects.scm
+++ b/runtime/queries/c/textobjects.scm
@@ -10,7 +10,11 @@
(union_specifier
body: (_) @class.inside) @class.around
-(parameter_declaration) @parameter.inside
+(parameter_list
+ ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
+
+(argument_list
+ ((_) @parameter.inside . ","? @parameter.around) @parameter.around)
(comment) @comment.inside