Function: lua-ts--nested-function-argument-matcher
lua-ts--nested-function-argument-matcher is a byte-compiled function
defined in lua-ts-mode.el.gz.
Signature
(lua-ts--nested-function-argument-matcher NODE &rest _)
Documentation
Matches if NODE is in a nested function argument.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/lua-ts-mode.el.gz
(defun lua-ts--nested-function-argument-matcher (node &rest _)
"Matches if NODE is in a nested function argument."
(save-excursion
(goto-char (treesit-node-start node))
(treesit-beginning-of-defun)
(backward-char 2)
(and (not (looking-at ")("))
(not (equal "chunk"
(treesit-node-type
(lua-ts--g-parent (treesit-node-at (point)))))))))