Skip to content

Commit 6ab3da3

Browse files
committed
[Docs] Document cider-connection-message-fn
1 parent 814f72f commit 6ab3da3

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

doc/modules/ROOT/pages/config/basic_config.adoc

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,22 @@ If you're fine with installing a third-party package for enhanced minibuffer
131131
completion you can't go wrong with the modern and versatile
132132
http://oremacs.com/2015/04/16/ivy-mode/[ivy].
133133

134+
== Message Displayed on Connect
135+
136+
By default CIDER will display an inspirational message when a new connection is
137+
established. This behavior is configurable via `cider-connection-message-fn`:
138+
139+
[source,lisp]
140+
----
141+
;; make the message more educational
142+
(setq cider-connection-message-fn #'cider-random-tip)
143+
;; disable this extra message altogether
144+
(setq cider-connection-message-fn nil)
145+
----
146+
147+
IMPORTANT: This is probably one of the most important CIDER features. Disable
148+
those amazing messages at your own risk!
149+
134150
== Log nREPL Communications
135151

136152
If you want to see all communications between CIDER and the nREPL

0 commit comments

Comments
 (0)