lsp-ui
lsp-ui copied to clipboard
Change the minimum width of lsp-ui-doc-frame
I'm trying lsp-mode with C# and the doc-frame is too small.
If I change the default lsp-ui-doc-frame-parameters
the doc-frame stays out of the window.
(setq lsp-ui-doc-frame-parameters
'((left . -1)
(no-focus-on-map . t)
(min-width . 80)
(width . 0)
(min-height . 0)
(height . 0)
(internal-border-width . 1)
(vertical-scroll-bars . nil)
(horizontal-scroll-bars . nil)
(right-fringe . 0)
(menu-bar-lines . 0)
(tool-bar-lines . 0)
(line-spacing . 0)
(unsplittable . t)
(undecorated . t)
(top . -1)
(visibility . nil)
(mouse-wheel-frame . nil)
(no-other-frame . t)
(inhibit-double-buffering . t)
(drag-internal-border . t)
(no-special-glyphs . t)
(desktop-dont-save . t)))
How can I change the doc-frame minimum width?
OS: Windows 10 Emacs version: 28.0.50
Do you mean the text get truncated on the right edge and does not show the full information in the doc frame? 😕
Yes. Although it doesn't happen while programming in Python and Rust.