Function: cider-inject-jack-in-dependencies
cider-inject-jack-in-dependencies is a byte-compiled function defined
in cider-jack-in.el.
Signature
(cider-inject-jack-in-dependencies PARAMS PROJECT-TYPE &optional COMMAND)
Documentation
Return PARAMS with injected REPL dependencies for PROJECT-TYPE.
Looks up the tool's :inject-fn in cider-jack-in-tools and calls it with
PARAMS, PROJECT-TYPE, and the optional resolved COMMAND. When the tool
has no :inject-fn (e.g. babashka, nbb, basilisp), PARAMS is returned
as-is. Eliminates the need for hacking profiles.clj for supporting CIDER
with its nREPL middleware and dependencies.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-jack-in.el
(defun cider-inject-jack-in-dependencies (params project-type &optional command)
"Return PARAMS with injected REPL dependencies for PROJECT-TYPE.
Looks up the tool's :inject-fn in `cider-jack-in-tools' and calls it with
PARAMS, PROJECT-TYPE, and the optional resolved COMMAND. When the tool
has no :inject-fn (e.g. babashka, nbb, basilisp), PARAMS is returned
as-is. Eliminates the need for hacking profiles.clj for supporting CIDER
with its nREPL middleware and dependencies."
(let ((inject (plist-get (cider--jack-in-tool project-type) :inject-fn)))
(if inject
(funcall inject params project-type command)
params)))