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/python/textobjects.scm | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'runtime/queries/python') diff --git a/runtime/queries/python/textobjects.scm b/runtime/queries/python/textobjects.scm index a52538af..0ca26089 100644 --- a/runtime/queries/python/textobjects.scm +++ b/runtime/queries/python/textobjects.scm @@ -12,3 +12,7 @@ (argument_list (_) @parameter.inside) + +(comment) @comment.inside + +(comment)+ @comment.around -- cgit v1.2.3-70-g09d2