From ab40e9ee600abfb3f8b6648bc813814d83d0b0c0 Mon Sep 17 00:00:00 2001 From: Ivan Malison Date: Thu, 15 Oct 2015 03:24:47 -0700 Subject: [PATCH] go-eldoc --- dotfiles/emacs.d/init.el | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dotfiles/emacs.d/init.el b/dotfiles/emacs.d/init.el index 4889347b..c53f427a 100644 --- a/dotfiles/emacs.d/init.el +++ b/dotfiles/emacs.d/init.el @@ -2138,9 +2138,11 @@ window is active in the perspective." (progn (use-package company-go) (use-package go-projectile) + (use-package go-eldoc) (defun imalison:go-mode-hook () (local-set-key (kbd "M-.") 'godef-jump) (local-set-key (kbd "M-,") 'pop-tag-mark) + (go-eldoc-setup) (set (make-local-variable 'company-backends) '(company-go))) (add-hook 'go-mode-hook 'imalison:go-mode-hook) (add-hook 'before-save-hook 'gofmt-before-save)))