Variable: cider-eval-result-font-lock

cider-eval-result-font-lock is a customizable variable defined in cider-overlays.el.

Value

clojure

Documentation

How to highlight interactive evaluation results.

If clojure (the default), the result is font-locked as Clojure code, both in the echo area and in the result overlay (where the syntax highlighting shows beneath cider-result-overlay-face). If nil, the result is not syntax-highlighted: the overlay is shown using cider-result-overlay-face and the echo-area result is shown as plain text.

This replaces the older cider-result-use-clojure-font-lock and cider-overlays-use-font-lock options, which together covered the same ground.

This variable was added, or its default value changed, in cider version 2.0.0.

Aliases

cider-result-use-clojure-font-lock (obsolete since 2.0.0) cider-overlays-use-font-lock (obsolete since 2.0.0)

Source Code

;; Defined in ~/.emacs.d/elpa/cider-20260822.1520/cider-overlays.el
(defcustom cider-eval-result-font-lock 'clojure
  "How to highlight interactive evaluation results.
If `clojure' (the default), the result is font-locked as Clojure code, both in
the echo area and in the result overlay (where the syntax highlighting shows
beneath `cider-result-overlay-face').
If nil, the result is not syntax-highlighted: the overlay is shown using
`cider-result-overlay-face' and the echo-area result is shown as plain text.

This replaces the older `cider-result-use-clojure-font-lock' and
`cider-overlays-use-font-lock' options, which together covered the same ground."
  :group 'cider
  :type '(choice (const :tag "Highlight as Clojure" clojure)
                 (const :tag "Use the result overlay face" nil))
  :package-version '(cider . "2.0.0"))