Function: c-ts-mode--standalone-grandparent
c-ts-mode--standalone-grandparent is a byte-compiled function defined
in c-ts-mode.el.gz.
Signature
(c-ts-mode--standalone-grandparent NODE PARENT BOL &rest ARGS)
Documentation
Like the standalone-parent anchor but pass it the grandparent.
PARENT is NODE's parent, BOL is the beginning of non-whitespace characters of the current line.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defun c-ts-mode--standalone-grandparent (_node parent bol &rest args)
"Like the standalone-parent anchor but pass it the grandparent.
PARENT is NODE's parent, BOL is the beginning of non-whitespace
characters of the current line."
(apply (alist-get 'standalone-parent treesit-simple-indent-presets)
parent (treesit-node-parent parent) bol args))