From 4a8da0c8b6db45d875594248fd5c953401fc3724 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sat, 29 Feb 2020 08:17:14 -0500 Subject: [PATCH] Set up customizations for lsp-ui --- emacs/init.org | 19 ++++++++++++++----- 1 file changed, 14 insertions(+), 5 deletions(-) diff --git a/emacs/init.org b/emacs/init.org index 77e9830..8a26aab 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -2618,11 +2618,20 @@ Emacs support for the Language Server Protocol (use-package lsp-ui :after (lsp-mode) - :config (setq lsp-ui-sideline-enable t - lsp-ui-sideline-show-symbol t - lsp-ui-sideline-show-hover t - lsp-ui-sideline-show-code-actions t - lsp-ui-sideline-update-mode 'point)) + :custom + (lsp-ui-sideline-enable t) + (lsp-ui-sideline-show-symbol t) + (lsp-ui-sideline-show-hover t) + (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 :init