Set the lsp-ui-sideline-actions-icon to the default
When Emacs 26.x support was in place this was originally: ```elisp lsp-ui-sideline-actions-icon (if EMACS27+ lsp-ui-sideline-actions-icon-default) ``` But when it was removed it became: ```elisp lsp-ui-sideline-actions-icon t ``` The docs for lsp-ui-sideline-actions-icon say: ``` Image file for actions. It must be a png file. ``` Setting this to `t` results in a whole lot of these messages: ``` [lsp-ui-sideline]: Error with actions icon: (error Invalid image specification) ``` So the solution seems to me to be to set it to: ```elisp lsp-ui-sideline-actions-icon lsp-ui-sideline-actions-icon-default ``` I've set it in my emacs and it seems to work.
This commit is contained in:
parent
2d2246d7ca
commit
7925759b8e
1 changed files with 1 additions and 1 deletions
|
@ -185,7 +185,7 @@ instead is more sensible."
|
||||||
lsp-ui-sideline-show-hover nil
|
lsp-ui-sideline-show-hover nil
|
||||||
;; Re-enable icon scaling (it's disabled by default upstream for Emacs
|
;; Re-enable icon scaling (it's disabled by default upstream for Emacs
|
||||||
;; 26.x compatibility; see emacs-lsp/lsp-ui#573)
|
;; 26.x compatibility; see emacs-lsp/lsp-ui#573)
|
||||||
lsp-ui-sideline-actions-icon t
|
lsp-ui-sideline-actions-icon lsp-ui-sideline-actions-icon-default
|
||||||
;; REVIEW Temporarily disabled, due to immense slowness on every
|
;; REVIEW Temporarily disabled, due to immense slowness on every
|
||||||
;; keypress. See emacs-lsp/lsp-ui#613
|
;; keypress. See emacs-lsp/lsp-ui#613
|
||||||
lsp-ui-doc-enable nil)
|
lsp-ui-doc-enable nil)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue