branch: elpa/eldoc-mouse
commit 775a9363953800076c8dc62a6d638863794b3d08
Author: HuangFeiyu <[email protected]>
Commit: HuangFeiyu <[email protected]>
change instruction for setup
---
README.md | 11 +----------
1 file changed, 1 insertion(+), 10 deletions(-)
diff --git a/README.md b/README.md
index 7524c5d7aa1..9258c0b0977 100644
--- a/README.md
+++ b/README.md
@@ -32,16 +32,7 @@ Then, in your Emacs configuration:
### Enable eldoc-mouse:
Add the following in your Emacs configuration:
```
-(eldoc-mouse-enable)
-```
-alternatively, run the command interactively:
-```
-M-X: eldoc-mouse-enable
-```
-### Disable eldoc-mouse:
-If you want to disable eldoc-mouse, you can do so with:
-```
-M-X: eldoc-mouse-disable
+(add-hook 'eglot-managed-mode-hook #'eldoc-mouse-mode t)
```
## Customization