branch: elpa/eldoc-mouse
commit 0b84d1bb46992680181cf67b8f8aeaff3be5620b
Author: huangfeiyu <[email protected]>
Commit: GitHub <[email protected]>
Update eldoc-mouse.el documentation comments
---
eldoc-mouse.el | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/eldoc-mouse.el b/eldoc-mouse.el
index 2a9d6e37bdf..457b0dadec8 100644
--- a/eldoc-mouse.el
+++ b/eldoc-mouse.el
@@ -40,6 +40,14 @@
;; ;; enable mouse hover for eglot managed buffers, and emacs lisp buffers.
;; optional
;; :hook (eglot-managed-mode emacs-lisp-mode))
+;; Or if you simply want to enable mouse hover for all buffers where
eldoc-mode is available as a minor mode, then:
+
+;; (use-package eldoc-mouse
+;; ;; replace <f1> <f1> to a key you like, "C-h ." maybe. Displaying
document on a popup when you press a key.
+;; :bind (:map eldoc-mouse-mode-map
+;; ("<f1> <f1>" . eldoc-mouse-pop-doc-at-cursor)) ;; optional
+;; :hook eldoc-mode)
+
;; Or if you want to show document only when you press a key, and don't want
to enable mouse hover, then:
;; (use-package eldoc-mouse)