Set up customizations for lsp-ui

This commit is contained in:
Jeremy Dormitzer 2020-02-29 08:17:14 -05:00
parent c6b4d0150b
commit 4a8da0c8b6

View File

@ -2618,11 +2618,20 @@ Emacs support for the Language Server Protocol
(use-package lsp-ui (use-package lsp-ui
:after (lsp-mode) :after (lsp-mode)
:config (setq lsp-ui-sideline-enable t :custom
lsp-ui-sideline-show-symbol t (lsp-ui-sideline-enable t)
lsp-ui-sideline-show-hover t (lsp-ui-sideline-show-symbol t)
lsp-ui-sideline-show-code-actions t (lsp-ui-sideline-show-hover t)
lsp-ui-sideline-update-mode 'point)) (lsp-ui-sideline-show-code-actions t)
(lsp-ui-sideline-update-mode 'point)
(lsp-ui-doc-alignment 'window)
(lsp-ui-doc-header t)
(lsp-ui-doc-position 'top)
(lsp-ui-doc-background '((t (:inherit region))))
(lsp-ui-doc-header '((t (:inherit lsp-face-highlight-write))))
(lsp-ui-sideline-current-symbol ((t (:inherit font-lock-constant-face
:box (:line-width -1 :color "#b58900")
:weight ultra-bold :height 0.99)))))
(use-package dap-mode (use-package dap-mode
:init :init