Fork me on GitHub
#spacemacs
<
2021-01-04
>
grierson21:01:07

I’ve start using Spacemacs and now getting these pop ups when I put my cursor on a function? how do I hide them?

practicalli-johnny22:01:45

@grierson my fist guess this is LSP popup. If not using LSP for any language, then remove the lsp layer from.spacemacs.

👍 3
grierson23:01:56

Thanks! I’ve been reading all your guides. It really helped me get started with Spacesmacs! ❤️👍🙏

practicalli-johnny22:01:32

Or if using LSP but not for Clojure, then set the Clojure backend to cider using a layer variable

practicalli-johnny22:01:20

If you want to use LSP with Clojure, then take a look at the lsp-mode website and figure out which configs you wish to disable (not something I understand myself, sorry).

Aaron Cooley23:01:19

in dotspacemacs-configuration-layers, use:

(lsp :variables
          lsp-ui-doc-enable nil)

👍 3
grierson23:01:11

yeh, that got it! Thank you! 🙂

practicalli-johnny01:01:21

There are many potential conflicts and changes to the CIDER experience when also running lsp for Clojure. There is an effort to make these the same, although its lacking in documentation. Some people have shared settings here and there, but I havent seen a well documented setup for LSP and CIDER together. Hopefully that will arrive some day, but this has been an issue for most of 2020 and a reason I havent use LSP for Clojure yet.

Aaron Cooley23:01:21

I had to disable these for R. Couldn't find it in the ESS documentation, eventually figured out LSP was the culprit.

👍 3
practicalli-johnny01:01:21

There are many potential conflicts and changes to the CIDER experience when also running lsp for Clojure. There is an effort to make these the same, although its lacking in documentation. Some people have shared settings here and there, but I havent seen a well documented setup for LSP and CIDER together. Hopefully that will arrive some day, but this has been an issue for most of 2020 and a reason I havent use LSP for Clojure yet.