Add golang support
This commit is contained in:
parent
b5e784a3b1
commit
ea0df90e57
2 changed files with 11 additions and 6 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue