emacs-lsp / lsp-ui

UI integrations for lsp-mode
https://emacs-lsp.github.io/lsp-ui
GNU General Public License v3.0
1.03k stars 141 forks source link

lsp doc overlay imenu when open lsp-ui-imenu #218

Open iromise opened 5 years ago

iromise commented 5 years ago

when open lsp-ui-imenu, lsp doc will overlay the imenu.

blasut commented 5 years ago

Could you perhaps provide a screenshot and some more detail into how one could replicate the issue?

iromise commented 5 years ago

step to replicate the issue

  1. open a project using ccls
  2. open a file
  3. open lsp-ui-imenu
  4. move cursor to a variable who has doc

Then you will get a result like the following lsp-ui

DivvyCr commented 2 years ago

Sorry to ping the thread, but I think this is a non-issue - it is a simple matter of configuration: (setq lsp-ui-doc-alignment 'window) will limit the doc to the selected window (ie. will not 'invade' other windows).