Function: c-ts-common-comment-2nd-line-matcher
c-ts-common-comment-2nd-line-matcher is a byte-compiled function
defined in c-ts-common.el.gz.
Signature
(c-ts-common-comment-2nd-line-matcher N PARENT &rest _)
Documentation
Matches if point is at the second line of a block comment.
PARENT should be a comment node.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-common.el.gz
(defun c-ts-common-comment-2nd-line-matcher (_n parent &rest _)
"Matches if point is at the second line of a block comment.
PARENT should be a comment node."
(and (equal (treesit-node-type parent) "comment")
(save-excursion
(forward-line -1)
(back-to-indentation)
(eq (point) (treesit-node-start parent)))))