@@ -544,6 +544,29 @@ user> (+ 1 2)
544544;; => 3
545545```
546546
547+ * The REPL buffer name has the format ` *cider-repl project-name* ` .
548+ Change the separator from space to something else by overriding ` nrepl-buffer-name-separator ` .
549+
550+ ``` el
551+ (setq nrepl-buffer-name-separator "-")
552+ ```
553+
554+ * The REPL buffer name can also display the port on which the nREPL server is running.
555+ Buffer name will look like * cider-repl project-name: port * .
556+
557+ ``` el
558+ (setq nrepl-buffer-name-show-port t)
559+ ```
560+
561+ * Normally code you input in the REPL is font-locked with
562+ ` cider-repl-input-face ` (after you press ` RET ` ) and results are
563+ font-locked with ` cider-repl-result-face ` . If you want them to be
564+ font-locked as in ` clojure-mode ` use the following:
565+
566+ ``` el
567+ (setq cider-repl-use-clojure-font-lock t)
568+ ```
569+
547570##### Pretty printing in the REPL
548571
549572Make the REPL always pretty-print the results of your commands. Note
@@ -935,20 +958,6 @@ will be used.
935958(setq cider-stacktrace-fill-column 80)
936959```
937960
938- * The REPL buffer name has the format ` *cider-repl project-name* ` .
939- Change the separator from space to something else by overriding ` nrepl-buffer-name-separator ` .
940-
941- ``` el
942- (setq nrepl-buffer-name-separator "-")
943- ```
944-
945- * The REPL buffer name can also display the port on which the nREPL server is running.
946- Buffer name will look like * cider-repl project-name: port * .
947-
948- ``` el
949- (setq nrepl-buffer-name-show-port t)
950- ```
951-
952961* Make <kbd >C-c C-z</kbd > switch to the CIDER REPL buffer in the current window:
953962
954963``` el
@@ -973,15 +982,6 @@ Buffer name will look like *cider-repl project-name:port*.
973982
974983To remove the prefix altogether just set it to an empty string(` "" ` ).
975984
976- * Normally code you input in the REPL is font-locked with
977- ` cider-repl-input-face ` (after you press ` RET ` ) and results are
978- font-locked with ` cider-repl-result-face ` . If you want them to be
979- font-locked as in ` clojure-mode ` use the following:
980-
981- ``` el
982- (setq cider-repl-use-clojure-font-lock t)
983- ```
984-
985985* CIDER can syntax highlight symbols that are known to be defined. By default,
986986 this is done on symbols from the ` clojure.core ` namespace as well as macros
987987 from any namespace. If you'd like CIDER to also colorize usages of functions
0 commit comments