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/llvm/textobjects.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/queries/llvm') diff --git a/runtime/queries/llvm/textobjects.scm b/runtime/queries/llvm/textobjects.scm index 3738a3bb..dd15dc14 100644 --- a/runtime/queries/llvm/textobjects.scm +++ b/runtime/queries/llvm/textobjects.scm @@ -14,3 +14,7 @@ (array_vector_body) @class.inside) @class.around (argument) @parameter.inside + +(comment) @comment.inside + +(comment)+ @comment.around -- cgit v1.2.3-70-g09d2