Closed ianyepan closed 3 years ago
By seeing the document string from variable lsp-ui-sideline-global
,
(defface lsp-ui-sideline-global
'((t))
"Face which apply to all overlays.
This face have a low priority over the others."
:group 'lsp-ui-sideline)
Try customize variable lsp-ui-sideline-code-action
instead.
I tried something like
(custom-set-faces '(lsp-ui-sideline-code-action ((t (:height 85)))))
but sadly saw no effect.
Duplicate of #561. See if the comment helps?
Close this for duplicate issue.
Unfortunately, that comment didn't help. It caused new bugs to insert text at the beginning of the buffer
I tried the following snippet:
(set-face-attribute 'lsp-ui-sideline-global nil :family "Segoe UI Variable Static Small" :italic t :height 0.8)
(set-face-attribute 'lsp-ui-sideline-code-action nil :family "Segoe UI Variable Static Small" :italic t :height 0.8)
(set-face-attribute 'lsp-ui-sideline-symbol-info nil :family "Segoe UI Variable Static Small" :italic t :height 0.8)
(set-face-attribute 'lsp-ui-sideline-symbol nil :family "Segoe UI Variable Static Small" :italic t :height 0.8)
(set-face-attribute 'lsp-ui-sideline-current-symbol nil :family "Segoe UI Variable Static Small" :italic t :height 0.8)
However, only the "family" attribute is changed. I am seeing no italic or height difference. I cannot locate which face is overriding these lsp-ui faces. I even went into the lsp-ui-sideline source code to change the heights from 0.99 to 0.8 and byte compiled it, yet still no height change.
friendly ping :)
I'd like the sideline fonts to be smaller. I tried almost every solution I found online, including:
For reference, this is the font size I'd like to shrink in the screenshot below: