From 55370bc43d05929e678766ec01a2045c73efeb29 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Thu, 5 Nov 2020 15:27:04 +0100 Subject: Emacs: fix eldoc-box initialisation --- user/emacs/init.el | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'user/emacs') 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) -- cgit 1.4.1