summary refs log tree commit diff stats
path: root/user/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'user/emacs')
-rw-r--r--user/emacs/init.el6
1 files changed, 2 insertions, 4 deletions
diff --git a/user/emacs/init.el b/user/emacs/init.el
index d1d783c1..5532d834 100644
--- a/user/emacs/init.el
+++ b/user/emacs/init.el
@@ -530,10 +530,8 @@ _p_rev       _u_pper              _=_: upper/lower       _r_esolve
             (global-eldoc-mode +1)))
 
 (use-package eldoc-box
-  :after (eldoc eglot)
-  :config (progn
-            (eldoc-box-hover-mode +1)
-            (eldoc-box-hover-at-point-mode +1)))
+  :after (eldoc lsp-mode)
+  :ghook ('lsp-managed-mode #'eldoc-box-hover-mode))
 
 (use-package ehelp
   :defer 15)