From 1c3d11fa531943092b20f982d7ee62015bb41bf3 Mon Sep 17 00:00:00 2001 From: Kevin Cotugno Date: Fri, 23 Feb 2018 12:28:37 -0800 Subject: [PATCH] Add go-mode --- emacs.d/init.el | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/emacs.d/init.el b/emacs.d/init.el index f57752e..1b47d54 100644 --- a/emacs.d/init.el +++ b/emacs.d/init.el @@ -188,6 +188,17 @@ useful for alternating between light and dark themes" :config (helm-projectile-on)) +(use-package go-mode + :ensure t) + +(use-package company-go + :ensure t + :after (go-mode) + :config + (add-hook 'go-mode-hook + (lambda () + (set (make-local-variable 'company-backends) '(company-go))))) + (require 'mu4e) (setq mu4e-maildir (concat (getenv "HOME") "/.mail")) (setq mu4e-drafts-folder "/Drafts")