From d7431db55cd076dbacfde2cebaed315509923df5 Mon Sep 17 00:00:00 2001 From: Michael Davis Date: Mon, 27 Mar 2023 01:27:38 -0500 Subject: Update tree-sitter-git-commit, add comment textobject (#6439) The update includes a fix for comments in commit messages where there was no space separating the '#' and the comment text. The comment textobject can be useful occasionally to jump to the summary part of the commit edit message.--- runtime/queries/git-commit/textobjects.scm | 2 ++ 1 file changed, 2 insertions(+) create mode 100644 runtime/queries/git-commit/textobjects.scm (limited to 'runtime/queries') diff --git a/runtime/queries/git-commit/textobjects.scm b/runtime/queries/git-commit/textobjects.scm new file mode 100644 index 00000000..4465c876 --- /dev/null +++ b/runtime/queries/git-commit/textobjects.scm @@ -0,0 +1,2 @@ +(comment) @comment.inside +(comment)+ @comment.around -- cgit v1.2.3-70-g09d2