Variable: cider-connect-default-params

cider-connect-default-params is a customizable variable defined in cider.el.

Value

nil

Documentation

Default plist of params for connecting to an external nREPL server.

Recognized keys are :host, :port and :project-dir.

These are used as arguments to the commands cider-connect-clj, cider-connect-cljs and cider-connect-clj&cljs, in order to bypass the corresponding user prompts.

This defcustom is intended for use with .dir-locals.el on a per-project basis. See cider-connect-default-cljs-params in order to specify a separate set of params for cljs REPL connections.

Note: it is recommended to set the variable cider-default-cljs-repl instead of specifying the :cljs-repl-type key.

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260414.1619/cider.el
(defcustom cider-connect-default-params nil
  "Default plist of params for connecting to an external nREPL server.
Recognized keys are :host, :port and :project-dir.

These are used as arguments to the commands `cider-connect-clj',
`cider-connect-cljs' and `cider-connect-clj&cljs', in order to bypass
the corresponding user prompts.

This defcustom is intended for use with .dir-locals.el on a per-project basis.
See `cider-connect-default-cljs-params' in order to specify a separate set of params
for cljs REPL connections.

Note: it is recommended to set the variable `cider-default-cljs-repl'
instead of specifying the :cljs-repl-type key."
  :type '(plist :key-type
                (choice (const :host)
                        (const :port)
                        (const :project-dir)))
  :group 'cider)