summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-05-02 08:01:09 -0700
committerFranck Cuny <franck@fcuny.net>2024-05-02 08:01:14 -0700
commit9078261cd0500ea45fe689cf6eb984eb31c5348b (patch)
tree188c1a0e35b4c53f6e13d79bcae87c48b81fc11c
parentset more colors (diff)
downloademacs.d-9078261cd0500ea45fe689cf6eb984eb31c5348b.tar.gz
colors for eldoc-box
Change-Id: I1706f1b7bef37c68e33c353bcfc129936e73cb43
-rw-r--r--config/init-lsp.el11
1 files changed, 3 insertions, 8 deletions
diff --git a/config/init-lsp.el b/config/init-lsp.el
index 50512ab..7c7a3e4 100644
--- a/config/init-lsp.el
+++ b/config/init-lsp.el
@@ -34,14 +34,9 @@
   :hook
   (eglot-managed-mode . eldoc-box-hover-mode)
   :custom
-  (eldoc-box-max-pixel-width 1024)
-   :config
-  (set-face-attribute 'eldoc-box-border nil
-                      :background "#000fff")
-  (set-face-attribute 'eldoc-box-body nil
-                      :family "Monaspace Argon" :height 140)
-  (set-face-attribute 'eldoc-box-markdown-separator nil
-                      :foreground "darkgray"))
+  (eldoc-documentation-strategy 'eldoc-documentation-enthusiast)
+  :custom-face
+  (eldoc-box-body ((t (:background "#eeefff" :family "Monaspace Argon" :height 0.9)))))
 
 (provide 'init-lsp)