From ab230fb9de1c164ebbb9cfffaa137fb632b1a227 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 7 Jun 2023 17:45:40 -0700 Subject: let's drop the eglot format buffer for python This is done with black anyway. Change-Id: If129a916b2fc0fc0547e77a88b945ba51f99fa2d --- init.org | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'init.org') 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") -- cgit v1.2.3