From 9bfb0caf1b4bafdac8eb964f38f7820740056fff Mon Sep 17 00:00:00 2001 From: Daniel S Poulin Date: Sun, 6 Mar 2022 00:24:24 -0500 Subject: Add comment textobject for surround selection and navigation (#1605) --- runtime/queries/c/textobjects.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/queries/c') diff --git a/runtime/queries/c/textobjects.scm b/runtime/queries/c/textobjects.scm index b0f03668..45f554e2 100644 --- a/runtime/queries/c/textobjects.scm +++ b/runtime/queries/c/textobjects.scm @@ -11,3 +11,7 @@ body: (_) @class.inside) @class.around (parameter_declaration) @parameter.inside + +(comment) @comment.inside + +(comment)+ @comment.around -- cgit v1.2.3-70-g09d2