diff --git a/emacs/init.org b/emacs/init.org index c333950..971aa20 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -5398,15 +5398,7 @@ A package that bundles together common code beautifying tools for many languages (use-package format-all :commands (format-all-buffer) :init - (leader-def-key "cf" 'format-all-buffer) - :config - (with-eval-after-load 'lsp-mode - (add-hook 'format-all-after-format-functions - (lambda (formatter status) - (when (and (eq status :reformatted) - (equal major-mode 'python-mode) - (boundp 'lsp-mode) lsp-mode) - (lsp-restart-workspace)))))) + (leader-def-key "cf" 'format-all-buffer)) #+END_SRC * Compiling