LSP: Enable sideline for code actions.

This commit is contained in:
tastytea 2021-05-27 10:44:00 +02:00
parent 708a00fe72
commit 84ea74b6ee
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
1 changed files with 3 additions and 2 deletions

View File

@ -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