From 8cc575d7d4e0221271398054b8dba802be757826 Mon Sep 17 00:00:00 2001 From: Koki Fukuda Date: Wed, 13 Apr 2022 23:58:01 +0900 Subject: [PATCH] Update instruction to use with eglot * README.org: Change eglot--managed-mode-hook to eglot-managed-mode-hook --- README.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.org b/README.org index 65dbd2e..9ff6992 100644 --- a/README.org +++ b/README.org @@ -38,7 +38,7 @@ It is also available on [[https://melpa.org/#/eldoc-box][MELPA]]. ** Use with eglot As of writing this README, eglot doesn't have a public mode hook, use this hook: #+BEGIN_SRC emacs-lisp -(add-hook 'eglot--managed-mode-hook #'eldoc-box-hover-mode t) +(add-hook 'eglot-managed-mode-hook #'eldoc-box-hover-mode t) #+END_SRC To keep eldoc from displaying documentation at point without enabling any minor mode above: =(add-to-list 'eglot-ignored-server-capabilites :hoverProvider)=.