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 139 forks source link

lsp-ui-doc header is cut off when contents are small #534

Open arjuns500 opened 3 years ago

arjuns500 commented 3 years ago

As mentioned above, the lsp-ui-header is cut off when the contents of the documentation are small.

An example of this is: image

jcs090218 commented 3 years ago

Can you give us a bit more information? ;)

Maybe like, steps to reproduce? What language server you are using? etc. Thanks! 😄

arjuns500 commented 3 years ago

@jcs090218 Sure! The language server i am using is typescript-language-server. Simply hovering over something that returns a doc that is shorter that the symbol reproduces this for me.

In the above example, any is returned, which is shorter than sendEmailVerification, so the symbol name is cut off.

Emacs details

My config is here. My emacs version string is: GNU Emacs 27.1 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0)