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