Skip to content

Commit cc23232

Browse files
committed
[Docs] Document how to remove CIDER's eldoc function
1 parent 8f3085c commit cc23232

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,3 +64,12 @@ is non-nil:
6464
----
6565
(setq cider-eldoc-display-context-dependent-info t)
6666
----
67+
68+
=== Disable CIDER's ElDoc Function
69+
70+
If you're using CIDER alongside `clojure-lsp` you might prefer to use `clojure-lsp` for ElDoc. This means you'll have to remove CIDER's ElDoc function from the list of registered ElDoc functions:
71+
72+
[source,lisp]
73+
----
74+
(remove-hook 'eldoc-documentation-functions #'cider-eldoc)
75+
----

0 commit comments

Comments
 (0)