diff options
author | Andrey Tkachenko | 2022-05-23 12:24:30 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2022-05-25 12:26:06 +0000 |
commit | 10463fe32c789f49c65d53c9d22621e415a854ea (patch) | |
tree | 610d40f68cc6d314c2a3dba658faf440389728ef /runtime/queries/c | |
parent | da2952725880d132fdfc2117dedebfe56ffdb646 (diff) |
Add `parameter.around` text object query
Diffstat (limited to 'runtime/queries/c')
-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 |