This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-11-07
Channels
- # babashka (17)
- # beginners (33)
- # calva (9)
- # cider (2)
- # clj-kondo (17)
- # cljs-dev (2)
- # cljsrn (2)
- # clojars (3)
- # clojure (60)
- # clojure-australia (2)
- # clojure-europe (8)
- # clojure-gamedev (5)
- # clojurescript (27)
- # cursive (2)
- # emacs (9)
- # fulcro (8)
- # gratitude (5)
- # lsp (41)
- # malli (3)
- # meander (18)
- # pathom (5)
- # polylith (25)
- # re-frame (17)
- # reagent (1)
- # rewrite-clj (6)
- # shadow-cljs (11)
- # uncomplicate (5)
- # vim (6)
- # web-security (5)
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
> 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