Function: cider-format-edn-last-sexp

cider-format-edn-last-sexp is an autoloaded, interactive and byte-compiled function defined in cider-format.el.

Signature

(cider-format-edn-last-sexp)

Documentation

Format the EDN data of the sexp preceding point.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20261106.1225/cider-format.el
;;;###autoload
(defun cider-format-edn-last-sexp ()
  "Format the EDN data of the sexp preceding point."
  (interactive)
  (if-let* ((bounds (ignore-errors (cider-last-sexp 'bounds))))
      (apply #'cider-format-edn-region bounds)
    (user-error "No sexp preceding point")))