reddit / emacs

How to customize lsp-ui-sideline?

eis3nheim · 2022-08-30 16:43
​ https://preview.redd.it/mric9wy3qvk91.png?width=1917&format=png&auto=webp&s=812479999cc95d8322c27ff926dac10e6b6421a1 How can I customize it so that the error message doesn't break like so? Sorry for the noob question, I tried to figure it out and read the [documentation](https://emacs-lsp.github.io/lsp-mode/tutorials/how-to-turn-off/) provided, but could not do it. **SOLUTION:** The issue with wrapping lines is caused when using a fixed font, so removing the value set to font face height solved the issue for me. Another thing I tried was changing the font to a non-mono-spaced one, but I decided to stick with the first one. Source: [https://github.com/emacs-lsp/lsp-ui/issues/597#issuecomment-1094139301](https://github.com/emacs-lsp/lsp-ui/issues/597#issuecomment-1094139301)
[deleted] · 2022-08-30 17:10
[deleted]
lebensterben · 2022-08-30 18:06
they have a discord channel
eis3nheim · 2022-08-30 18:10
Thank you, going to check it out.
flamingbear · 2022-08-30 20:42
Looks like you solved it. I ran into this also, and have these lines in my .emacs ;; Bad wrapping with sideline when you don't set this. (custom-set-faces '(markdown-code-face ((t (:inherit default))))) ​ in my lsp-ui config, I think it was similar or same, for anyone who finds this later.