1

This is similar to lsp-mode: disable documentation popup, but not the same issue.

Whenever I use lsp-mode and the company completion menu pops up, I get these annoying multiline-popups in the bottom of the window:

enter image description here

I tried the settings in the documentation, but could not get rid of them. How can I disable this behavior?

3
  • 1
    Have you tried looking at company-* options? Try completion on that and see if any options sounds relevant to your problem. IOW, it may not be lsp: it may be company that you have to concentrate on. BTW, this is all complete guesswork. Commented Sep 28 at 17:58
  • 1
    @NickD It does not happen with the combination of eglot and company, only with lsp-mode. Commented Sep 28 at 18:25
  • 1
    @NickD you were right about company. This situation seems to be unique to F#, though. See my answer if you are interested. Commented Sep 30 at 15:41

1 Answer 1

1

So this seems to be related to the "company echo metadata frontend", which does not seem to be customizable anymore. The reason that this does not happen with e.g. Python, is that when using Python with lsp-mode, the echoed part is only one line, barely noticable.

A workaround I found is: (setq company-echo-delay 10000), which increases the delay for displaying this "echo" so much that it does not appear (the default is 0.01).

1
  • 1
    You can possibly also edit company-frontends to only include company-pseudo-tooltip-frontend. Commented Oct 2 at 6:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.