From be4b4acb6d32cb32118fc46042ab07184c194b37 Mon Sep 17 00:00:00 2001 From: Bozhidar Batsov Date: Wed, 25 Sep 2024 16:40:28 +0300 Subject: [PATCH] [Docs] Document cider-result-use-clojure-font-lock --- doc/modules/ROOT/pages/usage/code_evaluation.adoc | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/doc/modules/ROOT/pages/usage/code_evaluation.adoc b/doc/modules/ROOT/pages/usage/code_evaluation.adoc index a2f21dc45..60340e8a7 100644 --- a/doc/modules/ROOT/pages/usage/code_evaluation.adoc +++ b/doc/modules/ROOT/pages/usage/code_evaluation.adoc @@ -183,6 +183,16 @@ Set this variable to `nil` to disable it. NOTE: CIDER uses internally the excellent package https://github.com/Malabarba/spinner.el[spinner.el]. +=== Syntax Highlighting of Results + +By default the results of interactive evaluation (both those displayed in the minibuffer and in overlays) are font-locked as Clojure code. +You can disable this by tweaking the configuration option `cider-result-use-clojure-font-lock`: + +[source,lisp] +---- +(setq cider-result-use-clojure-font-lock nil) +---- + === Overlays When you evaluate code in Clojure files, the result is displayed in the buffer