Fork me on GitHub

When I hover over, or place the cursor over a word, lsp-mode with clojure-lsp will show me information about the symbol; Where it is, docstrings if they exist, stuff like that. It’s been happening for awhile now, but this has recently really started bothering me. I can’t figure out why sometimes this information doesn’t show up. Either that or it flashes in the modeline for a second only to disappear again. I’m asking for help with figuring out how to begin troubleshooting this.


Maybe it's a conflict with cider eldoc integration? Maybe you need to leave only LSP-mode or cider one enabled


(clojure :variables
              ;; clojure-backend 'cider               ;; use cider instead of lsp
              ;; clojure-enable-linters 'clj-kondo    ;; clj-kondo included in lsp
              clojure-enable-clj-refactor t
              cider-repl-display-help-banner nil      ;; disable help banner
              cider-pprint-fn 'fipp                   ;; fast pretty printing
              clojure-indent-style 'align-arguments
              clojure-align-forms-automatically t
              clojure-toplevel-inside-comment-form t  ;; evaluate expressions in comment as top level
              cider-result-overlay-position 'at-point ;; results shown right after expression
              cider-overlays-use-font-lock t
              cider-repl-buffer-size-limit 100        ;; limit lines shown in REPL buffer
Doesn’t look I have cider enabled for the Clojure layer.


Maybe it could be a clojure-lsp issue as clojure-lsp send to client what it is the range for that function docs


If you manage to make a simple repro I can take a look later


> Maybe you need to leave only LSP-mode or cider one enabled try cider-eldoc-display-for-symbol-at-point nil for this there might be other eldoc-related defcustoms


@U45T93RA6 that's correct, but in this case I don't think he is using cider at all


Is there a verbose mode or debug mode for emacs? Like is there a way to track every function call and its result?