Update README.md

This commit is contained in:
James Cherti
2025-06-07 13:29:11 -04:00
parent 066a6d84e7
commit e246dfa0b6

View File

@@ -711,8 +711,7 @@ To configure `eglot`, add the following to `~/.emacs.d/post-init.el`:
``` emacs-lisp
(use-package eglot
:ensure nil
:commands (eglot
eglot-ensure
:commands (eglot-ensure
eglot-rename
eglot-format-buffer))
```
@@ -737,8 +736,8 @@ Here is an example of how to configure Eglot to enable or disable certain option
:yapf (:enabled :json-false)
:rope_autoimport (:enabled :json-false)))))
(add-hook 'python-mode-hook #'eglot)
(add-hook 'python-ts-mode-hook #'eglot)
(add-hook 'python-mode-hook #'eglot-ensure)
(add-hook 'python-ts-mode-hook #'eglot-ensure)
```
### Session Management