Add golang support

This commit is contained in:
Henrik Lissner 2015-04-30 16:43:44 -04:00
parent b5e784a3b1
commit ea0df90e57
2 changed files with 11 additions and 6 deletions

View file

@ -1,8 +1,13 @@
;; (use-package go-mode
;; :mode "\\.go\\'"
;; :interpreter "go"
;; :init
;; (require 'go-autocomplete))
(use-package go-mode
:mode "\\.go$"
:interpreter "go"
:config
(progn
(bind 'normal go-mode-map "gd" 'godef-jump)
(use-package company-go
:config
(company--backend-on 'go-mode-hook 'company-go 'company-yasnippet))))
(provide 'init-go)