Function: treesit-fold-open-all

treesit-fold-open-all is an interactive and byte-compiled function defined in treesit-fold.el.

Signature

(treesit-fold-open-all)

Documentation

Unfold all syntax nodes in the buffer.

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-all ()
  "Unfold all syntax nodes in the buffer."
  (interactive)
  (treesit-fold--ensure-ts
    (when-let* ((nodes (treesit-fold--overlays-in 'invisible 'treesit-fold)))
      (mapc #'delete-overlay nodes)
      (run-hooks 'treesit-fold-on-fold-hook)
      t)))