summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to 'emacs')
-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)