Function: lua-ts--multi-line-comment-start

lua-ts--multi-line-comment-start is a byte-compiled function defined in lua-ts-mode.el.gz.

Signature

(lua-ts--multi-line-comment-start NODE &rest _)

Documentation

Matches if NODE is the beginning of a multi-line comment.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/lua-ts-mode.el.gz
(defun lua-ts--multi-line-comment-start (node &rest _)
  "Matches if NODE is the beginning of a multi-line comment."
  (and node
       (equal "comment" (treesit-node-type node))
       (save-excursion
         (goto-char (treesit-node-start node))
         (forward-char 2)               ; Skip the -- part.
         (looking-at "\\[\\["))))