Skip to content

Commit 4b8d1a5

Browse files
committed
[Docs] Extend the REPL font-locking docs
1 parent 5cfa5bc commit 4b8d1a5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/modules/ROOT/pages/repl/configuration.adoc

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,12 @@ You can temporarily disable the Clojure font-locking by using
185185
kbd:[M-x cider-repl-toggle-clojure-font-lock]
186186
or the REPL shortcut `toggle-font-lock`.
187187

188+
Keep in mind that by default `cider-repl-input-face` simply makes the input bold
189+
and `cider-repl-result-face` is blank (meaning it doesn't really apply any
190+
font-locking to results), so you might want to adjust those faces to your
191+
preferences. Some Emacs color themes might be providing different defaults for
192+
them.
193+
188194
NOTE: Using Clojure font-locking in the REPL can impact performance negatively, especially
189195
when it comes to font-locking huge results. That, however, is mitigated to a big extent
190196
by result streaming.

0 commit comments

Comments
 (0)