This commit is contained in:
Ivan Malison 2015-10-25 15:41:31 -07:00
parent 293b36e426
commit ceb640ad14

View File

@ -2166,10 +2166,13 @@ window is active in the perspective."
(use-package company-go) (use-package company-go)
(use-package go-projectile) (use-package go-projectile)
(use-package go-eldoc) (use-package go-eldoc)
(use-package gotest)
(setq go-test-verbose t)
(defun imalison:go-mode-hook () (defun imalison:go-mode-hook ()
(local-set-key (kbd "M-.") 'godef-jump) (local-set-key (kbd "M-.") 'godef-jump)
(local-set-key (kbd "M-,") 'pop-tag-mark) (local-set-key (kbd "M-,") 'pop-tag-mark)
(go-eldoc-setup) (go-eldoc-setup)
(bind-key "C-c t" 'go-test-current-test go-mode-map)
(setq imenu-create-index-function (setq imenu-create-index-function
(lambda () (lambda ()
(imalison:flatten-imenu-index (imalison:flatten-imenu-index