Function: cider-doctor--check-ops

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

Signature

(cider-doctor--check-ops)

Documentation

Probe cider-doctor--expected-ops and report any that are missing.

A missing op is the usual reason a feature is silently dead, so the detail names the affected feature.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-doctor.el
(defun cider-doctor--check-ops ()
  "Probe `cider-doctor--expected-ops' and report any that are missing.
A missing op is the usual reason a feature is silently dead, so the
detail names the affected feature."
  (let ((repl (cider-current-repl))
        missing)
    (pcase-dolist (`(,op . ,feature) cider-doctor--expected-ops)
      (unless (cider-nrepl-op-supported-p op repl 'skip-ensure)
        (push (format "%s (%s)" op feature) missing)))
    (if missing
        (cider-doctor--result 'warn
                              (format "%d expected op(s) unavailable" (length missing))
                              :detail (mapconcat #'identity (nreverse missing) ", ")
                              :hint "Usually means an outdated or partial cider-nrepl; update it."
                              :section "troubleshooting.html#cider-complains-of-the-cider-nrepl-version")
      (cider-doctor--result 'ok "All probed middleware ops available"))))