diff options
Diffstat (limited to 'runtime/queries/c/textobjects.scm')
-rw-r--r-- | runtime/queries/c/textobjects.scm | 6 |
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 |