Fork me on GitHub
#emacs
<
2021-06-25
>
joelkuiper13:06:51

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)

joelkuiper13:06:18

the behavior in question

ericdallo13:06:27

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

joelkuiper13:06:09

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!)

ericdallo13:06:56

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

ericdallo13:06:53

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

ericdallo13:06:07

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

joelkuiper13:06:40

I'll check it out, thanks!

bartuka11:06:22

fixed for me 😃 had the same issue. thanks

🙂 6