From a3f242d4b64be191acb1ec70d017f8d39290cd83 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Thu, 25 Feb 2021 13:44:58 -0500 Subject: [PATCH] tools/lsp: only enable sideline icons in 27.x+ --- modules/tools/lsp/+lsp.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/modules/tools/lsp/+lsp.el b/modules/tools/lsp/+lsp.el index d82d62548..76af68fb2 100644 --- a/modules/tools/lsp/+lsp.el +++ b/modules/tools/lsp/+lsp.el @@ -147,7 +147,9 @@ server getting expensively restarted when reverting buffers." ;; Don't show symbol definitions in the sideline. They are pretty noisy, ;; and there is a bug preventing Flycheck errors from being shown (the ;; errors flash briefly and then disappear). - lsp-ui-sideline-show-hover nil) + lsp-ui-sideline-show-hover nil + ;; Some icons don't scale correctly on Emacs 26, so disable them there. + lsp-ui-sideline-actions-icon EMACS27+) ; DEPRECATED Remove later (map! :map lsp-ui-peek-mode-map "j" #'lsp-ui-peek--select-next