aboutsummaryrefslogtreecommitdiff
path: root/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r--.emacs.d/init.el8
1 files changed, 7 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 68ac66c..8ed2a78 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -51,7 +51,7 @@
;; Company Mode
(use-package company
:init
- (setq company-global-modes '(emacs-lisp-mode))
+ (setq company-global-modes '(emacs-lisp-mode go-mode))
:hook ((after-init . global-company-mode)))
;; Projectile
@@ -94,6 +94,12 @@
:config
(exec-path-from-shell-initialize))
+(use-package go-mode
+ :ensure t
+ :commands (go-mode)
+ :mode (("\\.go\\'" . go-mode))
+ :hook ((go-mode . (lambda () (setq tab-width 4)))))
+
(use-package avy)
(use-package paredit