emacs

Consider also joining #cider, #lsp and #inf-clojure, where most of the tool-specific discussions are happening.
joelkuiper 2021-06-25T13:32:51.066700Z

Does anyone else have an issue with eldoc in combination with cider/lsp? When I type the mini buffer very briefly shows the function signature, and the quickly switches over to what I just typed (in a different font) which is rather distracting. Turning off eldoc mode "fixes" it, but I was wondering if there is a better solution (dotfile https://github.com/joelkuiper/dotfiles/blob/master/emacs)

joelkuiper 2021-06-25T13:36:18.066900Z

the behavior in question

bartuka 2021-06-26T11:46:22.071200Z

fixed for me 😃 had the same issue. thanks

🙂 2
ericdallo 2021-06-25T13:39:27.067500Z

It seems to bring the doc from cider and later it's replaced by LSP

joelkuiper 2021-06-25T13:40:09.067700Z

yeah that is my guess as well, I'd be happy with either of them ... just not both at the same time, but not sure about the appropriate flag to disable that behavior (or if anyone else ran into the same issue!)

ericdallo 2021-06-25T13:42:56.067900Z

maybe disable the cider one with (setq cider-eldoc-display-for-symbol-at-point nil) ?

ericdallo 2021-06-25T13:44:39.068100Z

it seems to work for me, I'll probably add to https://emacs-lsp.github.io/lsp-mode/tutorials/clojure-guide/

ericdallo 2021-06-25T13:45:53.068500Z

in case you want to disable the LSP one, I think the var is lsp-eldoc-enable-hover

ericdallo 2021-06-25T13:46:07.068700Z

(I'd go with disabling the cider one 😛 )

joelkuiper 2021-06-25T13:49:40.068900Z

I'll check it out, thanks!