Function: treesit-fold-open
treesit-fold-open is an interactive and byte-compiled function defined
in treesit-fold.el.
Signature
(treesit-fold-open)
Documentation
Open the fold of the syntax node in which point resides.
If the current node is not folded or not foldable, do nothing.
This function has :after advice: treesit-fold--after-command.
Key Bindings
This command is not in any keymaps.
Source Code
;; Defined in /nix/store/mpy1l6b4hlzpp59l4vbahq83hqa821ci-emacs-packages-deps/share/emacs/site-lisp/elpa/treesit-fold-0.2.1/treesit-fold.el
;;;###autoload
(defun treesit-fold-open ()
"Open the fold of the syntax node in which `point' resides.
If the current node is not folded or not foldable, do nothing."
(interactive)
(treesit-fold--ensure-ts
(when-let* ((node (treesit-fold--foldable-node-at-pos))
(ov (treesit-fold-overlay-at node)))
(delete-overlay ov)
(run-hooks 'treesit-fold-on-fold-hook)
t)))