mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
Add doctstrings to +evil/fold-* commands
This commit is contained in:
@ -38,6 +38,9 @@
|
||||
|
||||
;;;###autoload
|
||||
(defun +evil/fold-toggle ()
|
||||
"Toggle the fold at point.
|
||||
|
||||
Targets `vimmish-fold', `hideshow' and `outline' folds."
|
||||
(interactive)
|
||||
(save-excursion
|
||||
(cond ((+evil--vimish-fold-p) (vimish-fold-toggle))
|
||||
@ -49,6 +52,9 @@
|
||||
|
||||
;;;###autoload
|
||||
(defun +evil/fold-open ()
|
||||
"Open the folded region at point.
|
||||
|
||||
Targets `vimmish-fold', `hideshow' and `outline' folds."
|
||||
(interactive)
|
||||
(save-excursion
|
||||
(cond ((+evil--vimish-fold-p) (vimish-fold-unfold))
|
||||
@ -59,6 +65,9 @@
|
||||
|
||||
;;;###autoload
|
||||
(defun +evil/fold-close ()
|
||||
"Close the folded region at point.
|
||||
|
||||
Targets `vimmish-fold', `hideshow' and `outline' folds."
|
||||
(interactive)
|
||||
(save-excursion
|
||||
(cond ((+evil--vimish-fold-p) (vimish-fold-refold))
|
||||
|
Reference in New Issue
Block a user