From b697f1116753eac67cd8dbaad2461664023cfa40 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Mon, 6 Feb 2023 19:14:19 -0800 Subject: fix(go): format the buffer Change-Id: I39a199d24c3e0361f4d268d98b0ad6a3d0cb0f47 --- emacs/custom/my-lang-go.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emacs/custom/my-lang-go.el b/emacs/custom/my-lang-go.el index fdfb8ee..c5181fa 100644 --- a/emacs/custom/my-lang-go.el +++ b/emacs/custom/my-lang-go.el @@ -15,7 +15,7 @@ (setq go-test-verbose t)) (add-hook 'go-mode-hook 'eglot-ensure) -(add-hook 'nix-mode-hook #'(lambda() (add-hook 'before-save-hook 'eglot-format-buffer nil t))) +(add-hook 'go-mode-hook #'(lambda() (add-hook 'before-save-hook 'eglot-format-buffer nil t))) (add-hook 'go-mode-hook #'my/go-mode-setup) (provide 'my-lang-go) -- cgit 1.4.1