Function: lua-ts--nested-function-block-matcher

lua-ts--nested-function-block-matcher is a byte-compiled function defined in lua-ts-mode.el.gz.

Signature

(lua-ts--nested-function-block-matcher NODE &rest _)

Documentation

Matches if NODE is in a nested function block.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/lua-ts-mode.el.gz
(defun lua-ts--nested-function-block-matcher (node &rest _)
  "Matches if NODE is in a nested function block."
  (let* ((g-g-g-parent (lua-ts--g-g-g-parent node))
         (g-g-g-type (treesit-node-type g-g-g-parent)))
    (not (equal g-g-g-type "chunk"))))