Function: eglot-hierarchy-center-on-node

eglot-hierarchy-center-on-node is an interactive and byte-compiled function defined in eglot.el.gz.

Signature

(eglot-hierarchy-center-on-node)

Documentation

Refresh hierarchy, centering on node at point.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/eglot.el.gz
(defun eglot-hierarchy-center-on-node ()
  "Refresh hierarchy, centering on node at point."
  (interactive)
  (setq-local eglot--hierarchy-roots
              (list (get-text-property (point)
                                       'eglot--hierarchy-node)))
  (eglot--hierarchy-2))