4

I installed rustic-mode with LSP server. They work. But now it shows docs and description of every symbol I put my cursor on. It distracts and irritates me a lot. How can I make it show the symbol info and docs on demand only when I click a certain key? I tried this:

(setq lsp-eldoc-render-all nil)
(setq lsp-enable-symbol-highlighting nil)
(setq lsp-eldoc-render-all nil)
(setq lsp-signature-render-documentation nil)

But only what I got so far is this:

enter image description here

user4035
  • 1,039
  • 11
  • 24

1 Answers1

5

Try the following.

(setq lsp-ui-doc-enable nil
      lsp-ui-sideline-enable nil)

You can check how to set/reset the options from the LSP page.

Swarnendu Biswas
  • 1,378
  • 1
  • 11
  • 24