summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-06-21 19:54:05 +0100
committerAlan Pearce2014-06-21 22:38:10 +0100
commita6a88661b160dea1f2b59396f2dbdd2a5a843230 (patch)
treefcdf7f900575cb6ef19f38a7d056432e1ffc4193 /tag-emacs
parent0f98e883199c4a0fe4d70e5f5f13620574c72440 (diff)
downloaddotfiles-a6a88661b160dea1f2b59396f2dbdd2a5a843230.tar.lz
dotfiles-a6a88661b160dea1f2b59396f2dbdd2a5a843230.tar.zst
dotfiles-a6a88661b160dea1f2b59396f2dbdd2a5a843230.zip
Emacs: Defer loading of go-mode
Diffstat (limited to 'tag-emacs')
-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 ce3b7b1..dc50878 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