Function: lua-ts--first-real-sibling-anchor

lua-ts--first-real-sibling-anchor is a byte-compiled function defined in lua-ts-mode.el.gz.

Signature

(lua-ts--first-real-sibling-anchor N PARENT _)

Documentation

Return the start position of the first non-comment child of PARENT.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/lua-ts-mode.el.gz
(defun lua-ts--first-real-sibling-anchor (_n parent _)
  "Return the start position of the first non-comment child of PARENT."
  (treesit-node-start
   (seq-first
    (seq-filter
     (lambda (n) (not (equal "comment" (treesit-node-type n))))
     (treesit-node-children parent t)))))