From 84ea74b6eee0dfde6a863a382a7d75123f3f1903 Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 27 May 2021 10:44:00 +0200 Subject: [PATCH] LSP: Enable sideline for code actions. --- init.d/programming/lsp.el | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/init.d/programming/lsp.el b/init.d/programming/lsp.el index de2073e..2b5f806 100644 --- a/init.d/programming/lsp.el +++ b/init.d/programming/lsp.el @@ -67,12 +67,13 @@ (use-package lsp-ui :after (lsp-mode flycheck whitespace) :functions (my/whitespace-mode-on my/whitespace-mode-off) - :custom ((lsp-ui-sideline-enable nil) ; Documentation in buffer. + :custom ((lsp-ui-sideline-enable t) ; Documentation in buffer. (lsp-ui-doc-include-signature nil) (lsp-ui-doc-max-width 100) (lsp-ui-doc-max-height 20) (lsp-ui-doc-enable t) ; Documentation popup. - (lsp-ui-doc-show-with-mouse nil)) + (lsp-ui-doc-show-with-mouse nil) + (lsp-ui-sideline-show-diagnostics nil)) :config (defun my/lsp-ws-toggle () "Works around the dots-in-wrong-color bug." (if lsp-ui-peek-mode