summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-06-07 17:45:40 -0700
committerFranck Cuny <franck@fcuny.net>2023-06-07 17:46:47 -0700
commitab230fb9de1c164ebbb9cfffaa137fb632b1a227 (patch)
tree08d33a805adc116c613d83f6cf8dd99ec182374f
parentformat code block for eglot (diff)
downloademacs.d-ab230fb9de1c164ebbb9cfffaa137fb632b1a227.tar.gz
let's drop the eglot format buffer for python
This is done with black anyway.

Change-Id: If129a916b2fc0fc0547e77a88b945ba51f99fa2d
Diffstat (limited to '')
-rw-r--r--init.org3
1 files changed, 1 insertions, 2 deletions
diff --git a/init.org b/init.org
index 358d6f8..e1c10df 100644
--- a/init.org
+++ b/init.org
@@ -1173,8 +1173,7 @@ Enable eglot and tree-sitter when working with python.
 #+begin_src emacs-lisp
 (use-package python-mode
   :hook ((python-mode . tree-sitter-hl-mode)
-         (python-mode . eglot-ensure)
-         (python-mode . (lambda () (add-hook 'before-save-hook 'eglot-format-buffer nil t))))
+         (python-mode . eglot-ensure))
   :interpreter "python"
   :bind (:map python-mode-map
               ("C-c c")