diff options
author | Alan Pearce | 2020-11-05 15:27:04 +0100 |
---|---|---|
committer | Alan Pearce | 2020-11-05 15:27:04 +0100 |
commit | 55370bc43d05929e678766ec01a2045c73efeb29 (patch) | |
tree | f3edbf345a7a2ac332d4e80e572ab860f035fa9a | |
parent | ae7ff666c08c927f77619e96b77bb4db3fd0d549 (diff) | |
download | nixfiles-55370bc43d05929e678766ec01a2045c73efeb29.tar.lz nixfiles-55370bc43d05929e678766ec01a2045c73efeb29.tar.zst nixfiles-55370bc43d05929e678766ec01a2045c73efeb29.zip |
Emacs: fix eldoc-box initialisation
-rw-r--r-- | user/emacs/init.el | 6 |
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) |