Function: treesit-fold--last-eol
treesit-fold--last-eol is a natively compiled function defined in
treesit-fold-util.el.
Signature
(treesit-fold--last-eol POS)
Documentation
Go to POS then find previous line break, and return its position.
Source Code
;; Defined in /nix/store/mpy1l6b4hlzpp59l4vbahq83hqa821ci-emacs-packages-deps/share/emacs/site-lisp/elpa/treesit-fold-0.2.1/treesit-fold-util.el
;;
;; (@* "Positions" )
;;
(defun treesit-fold--last-eol (pos)
"Go to POS then find previous line break, and return its position."
(save-excursion
(goto-char pos)
(max 1 (1- (line-beginning-position)))))