From fb5d9c7ec308003dfcc1d9b4a6a522075f23024d Mon Sep 17 00:00:00 2001 From: John Doty Date: Fri, 26 May 2023 06:13:55 -0700 Subject: [PATCH] Format on save --- .emacs.d/init.el | 1 + 1 file changed, 1 insertion(+) diff --git a/.emacs.d/init.el b/.emacs.d/init.el index ccb7e57..e91a9bf 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -367,6 +367,7 @@ (c++-mode . eglot-ensure) (c-mode . eglot-ensure) (go-mode . eglot-ensure) ;; 2022-07-29 Add eglot for go + (before-save . eglot-format) ;; 2023-05-25 Format buffers on save :bind ("C-c \\" . eglot-code-actions) ;; 2022-07-29 I want to make code actions easier. :config