Add comment on disabling eldoc documentation in minibuffer

This commit is contained in:
Yuan Fu 2019-01-04 19:10:22 -05:00
parent ec9a4003de
commit 8a5490242d
No known key found for this signature in database
GPG Key ID: 1CF5ECABEC37A901

View File

@ -31,6 +31,8 @@ As of writing this README, eglot doesn't have a public mode hook, use this hook:
(add-hook 'eglot--managed-mode-hook #'eldoc-box-hover-mode t) (add-hook 'eglot--managed-mode-hook #'eldoc-box-hover-mode t)
#+END_SRC #+END_SRC
To keep eldoc from displaying documentation at point without enabling any minor mode above: =(add-to-list 'eglot-ignored-server-capabilites :hoverProvider)=.
<<command>> <<command>>
Eldoc-box also provides a convenient command =eldoc-box-eglot-help-at-point=. Calling this command on a symbol displays a documentation childframe at point. No need to enable any minor mode for this. Eldoc-box also provides a convenient command =eldoc-box-eglot-help-at-point=. Calling this command on a symbol displays a documentation childframe at point. No need to enable any minor mode for this.