Function: cider--universal-jack-in-opts

cider--universal-jack-in-opts is a byte-compiled function defined in cider-jack-in.el.

Signature

(cider--universal-jack-in-opts PROJECT-TYPE)

Documentation

Build the params plist for cider-jack-in-universal for PROJECT-TYPE.

The returned plist forces project dir editing and carries the cljs REPL type (when applicable) so the right entry point can dispatch.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-jack-in.el
(defun cider--universal-jack-in-opts (project-type)
  "Build the params plist for `cider-jack-in-universal' for PROJECT-TYPE.
The returned plist forces project dir editing and carries the cljs REPL
type (when applicable) so the right entry point can dispatch."
  (let* ((spec (cider--jack-in-tool project-type))
         (opts (list :project-type project-type :edit-project-dir t)))
    (when-let* ((cljs-type (plist-get spec :cljs-repl-type)))
      (setq opts (plist-put opts :cljs-repl-type cljs-type)))
    opts))