Function: evil--preceding-sexp
evil--preceding-sexp is a byte-compiled function defined in
evil-integration.el.
Signature
(evil--preceding-sexp COMMAND &rest ARGS)
Documentation
In Normal- or Motion-state, allow last sexp to end at point.
Source Code
;; Defined in ~/.emacs.d/elpa/evil-20251108.138/evil-integration.el
;;; Eval last sexp
(defun evil--preceding-sexp (command &rest args)
"In Normal- or Motion-state, allow last sexp to end at point."
(save-excursion
(or evil-move-beyond-eol
(eolp)
(not (or (evil-normal-state-p) (evil-motion-state-p)))
(forward-char))
(apply command args)))