From e246dfa0b6cf15fa24bd3eb4037f0ae192b57e10 Mon Sep 17 00:00:00 2001 From: James Cherti <60946298+jamescherti@users.noreply.github.com> Date: Sat, 7 Jun 2025 13:29:11 -0400 Subject: [PATCH] Update README.md --- README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6779db6..5e78888 100644 --- a/README.md +++ b/README.md @@ -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