Variable: cider-jack-in-default
cider-jack-in-default is a customizable variable defined in cider.el.
Value
lein
Documentation
The default tool to use when doing cider-jack-in outside a project.
This value will only be consulted when no identifying file types, i.e. project.clj for leiningen or deps.edn for clojure-cli, could be found.
As the Clojure CLI is bundled with Clojure itself, it's the default. In the absence of the Clojure CLI (e.g. on Windows), we fallback to Leiningen.
This variable was added, or its default value changed, in cider version 0.9.0.
Source Code
;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defcustom cider-jack-in-default
(if (executable-find "clojure") 'clojure-cli 'lein)
"The default tool to use when doing `cider-jack-in' outside a project.
This value will only be consulted when no identifying file types, i.e.
project.clj for leiningen or deps.edn for clojure-cli, could be found.
As the Clojure CLI is bundled with Clojure itself, it's the default.
In the absence of the Clojure CLI (e.g. on Windows), we fallback
to Leiningen."
:type '(choice (const lein)
(const clojure-cli)
(const shadow-cljs)
(const gradle)
(const babashka)
(const nbb)
(const basilisp))
:safe #'symbolp
:package-version '(cider . "0.9.0"))