Fork me on GitHub
#calva
<
2023-11-06
>
pez12:11:58

Dear Calva friends: https://github.com/BetterThanTomorrow/calva/releases/tag/v2.0.394 • Fix: https://github.com/BetterThanTomorrow/calva/issues/2091 The problem was that the two mechanisms for providing hover information were unaware of each other. I now made the lsp provider check if there was already someone else providing hovers and if so it doesn’t add any. End result is that if the nrepl server provides hovers, you’ll get those, otherwise you get clojure-lsp’s hovers.

ericdallo12:11:22

I wonder if nrepl already include clojuredocs docs built-in in hover requests, which LSP provides, if so that's ok, otherwise, I'd say maybe LSP should be prioritized first

pez12:11:58

Yes, both systems produce pretty similar hovers. The nrepl provider has a bit deeper integration with Calva.