summary refs log tree commit diff
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2023-02-06 19:14:19 -0800
committerFranck Cuny <franck@fcuny.net>2023-02-06 19:14:19 -0800
commitb697f1116753eac67cd8dbaad2461664023cfa40 (patch)
tree6bb7a2e0613b626945b88268e696f065191da192
parentref(misc): set location of some files (diff)
downloademacs.d-b697f1116753eac67cd8dbaad2461664023cfa40.tar.gz
fix(go): format the buffer
Change-Id: I39a199d24c3e0361f4d268d98b0ad6a3d0cb0f47
-rw-r--r--emacs/custom/my-lang-go.el2
1 files changed, 1 insertions, 1 deletions
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)