Function: cider-connection-type-for-buffer

cider-connection-type-for-buffer is a for cider-repl-type-for-buffer, defined in cider-connection.el.

Signature

(cider-connection-type-for-buffer &optional BUFFER)

Documentation

Return the matching connection type (clj or cljs) for BUFFER.

BUFFER defaults to the current-buffer. In cljc buffers return multi. This function infers connection type based on the major mode. For the REPL type use the function cider-repl-type(var)/cider-repl-type(fun).

Aliases

cider-connection-type-for-buffer