summaryrefslogtreecommitdiff
path: root/emacs
diff options
context:
space:
mode:
authorGrégoire Duchêne <gduchene@awhk.org>2024-03-03 14:12:06 +0000
committerGrégoire Duchêne <gduchene@awhk.org>2024-03-03 14:12:06 +0000
commitb4e11e640e1d07d4a8615ca71dcc66b26c590d29 (patch)
treea53a74d4725dafcecd5adfc52d7dd688af61310d /emacs
parentb9625abf66c45115572880e65b09ef25871a1f93 (diff)
emacs: Ensure that go-mode is installed
Diffstat (limited to 'emacs')
-rw-r--r--emacs/init.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 9654a7a..190dc03 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -181,7 +181,9 @@
(add-hook 'before-save-hook #'eglot-format-buffer nil :local))
:hook ((go-mode . eglot-ensure)
- (go-mode . my/go-add-hooks)))
+ (go-mode . my/go-add-hooks))
+
+ :ensure t)
;; Git