summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-06-21 19:54:05 +0100
committerAlan Pearce2014-06-21 22:38:10 +0100
commita6a88661b160dea1f2b59396f2dbdd2a5a843230 (patch)
treefcdf7f900575cb6ef19f38a7d056432e1ffc4193
parent0f98e883199c4a0fe4d70e5f5f13620574c72440 (diff)
downloadnixfiles-a6a88661b160dea1f2b59396f2dbdd2a5a843230.tar.lz
nixfiles-a6a88661b160dea1f2b59396f2dbdd2a5a843230.tar.zst
nixfiles-a6a88661b160dea1f2b59396f2dbdd2a5a843230.zip
Emacs: Defer loading of go-mode
-rw-r--r--tag-emacs/emacs.d/init.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index ce3b7b1e..dc508780 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -614,6 +614,9 @@
   :diminish " ✓"
   :init (global-flycheck-mode))
 
+(req-package go-mode
+  :mode (("\\.go\\'" . go-mode)))
+
 (req-package company-go
   :require go-mode
   :config (progn