docs(emacs lsp-ui): better configuration
All checks were successful
deploy / build (push) Successful in 2m9s

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

View File

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