diff .elisp/settings/80.go.el @ 323:aa5afa13e12c

emacs: add go-eldoc for better go programming
author Augie Fackler <raf@durin42.com>
date Thu, 11 Jul 2013 09:16:09 -0500
parents a8caf664abdc
children ec41fb19c4c8
line wrap: on
line diff
--- a/.elisp/settings/80.go.el
+++ b/.elisp/settings/80.go.el
@@ -30,7 +30,8 @@
         (message "Go is installed, loading go-mode")
         (add-to-list 'load-path goloc)
         (require 'go-mode)
-        (add-hook 'go-mode-hook          'af-go-hook)
+        (add-hook 'go-mode-hook 'af-go-hook)
+        (add-hook 'go-mode-hook 'go-eldoc-setup)
         (let* ((loc (af-get-gocode-elisp-location))
                (el (concat loc "/company-go.el")))
           (if (file-exists-p el)