Function: cider-doctor--check-nrepl-version

cider-doctor--check-nrepl-version is a byte-compiled function defined in cider-doctor.el.

Signature

(cider-doctor--check-nrepl-version)

Documentation

Check the connected nREPL server's version.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-doctor.el
(defun cider-doctor--check-nrepl-version ()
  "Check the connected nREPL server's version."
  (if-let* ((ver (cider--nrepl-version)))
      (if (version< ver cider-required-nrepl-version)
          (cider-doctor--result 'error (format "nREPL %s is too old" ver)
                                :detail (format "CIDER requires nREPL %s or newer."
                                                cider-required-nrepl-version)
                                :section "troubleshooting.html#warning-saying-you-have-to-use-newer-nrepl")
        (cider-doctor--result 'ok (format "nREPL %s" ver)))
    (cider-doctor--result 'warn "nREPL version unknown")))