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, BOL, ARGS are the same as other anchor functions.

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, BOL, ARGS are the same as other anchor functions."
  (apply (alist-get 'standalone-parent treesit-simple-indent-presets)
         parent (treesit-node-parent parent) bol args))