docs(emacs lsp-ui): better configuration
deploy / build (push) Successful in 2m9s Details

This commit is contained in:
Lucien Cartier-Tilet 2024-01-22 21:20:51 +01:00
parent 421ef312d0
commit 22f7987d03
Signed by: phundrak
GPG Key ID: BD7789E705CB8DCA
1 changed files with 7 additions and 4 deletions

View File

@ -235,10 +235,13 @@ I also want all the visual enhancements LSP can provide.
:defer t
:straight (:build t)
:commands lsp-ui-mode
:custom
(lsp-ui-peek-always-show t)
(lsp-ui-sideline-show-hover t)
(lsp-ui-doc-enable t)
:config
(require 'lsp-ui-flycheck)
(require 'lsp-ui-sideline)
(setq lsp-ui-peek-always-show t
lsp-ui-doc-enable t
lsp-ui-sideline-show-diagnostics t
lsp-ui-sideline-show-code-action t)
:general
(phundrak/major-leader-key
:keymaps 'lsp-ui-peek-mode-map