Add go-mode

This commit is contained in:
Kevin Cotugno 2018-02-23 12:28:37 -08:00
parent b464691a71
commit 1c3d11fa53

View File

@ -188,6 +188,17 @@ useful for alternating between light and dark themes"
:config :config
(helm-projectile-on)) (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) (require 'mu4e)
(setq mu4e-maildir (concat (getenv "HOME") "/.mail")) (setq mu4e-maildir (concat (getenv "HOME") "/.mail"))
(setq mu4e-drafts-folder "/Drafts") (setq mu4e-drafts-folder "/Drafts")