Mercurial > dotfiles
comparison .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 |
comparison
equal
deleted
inserted
replaced
322:a7f5b0526a51 | 323:aa5afa13e12c |
---|---|
28 (if (file-exists-p goel) | 28 (if (file-exists-p goel) |
29 (progn | 29 (progn |
30 (message "Go is installed, loading go-mode") | 30 (message "Go is installed, loading go-mode") |
31 (add-to-list 'load-path goloc) | 31 (add-to-list 'load-path goloc) |
32 (require 'go-mode) | 32 (require 'go-mode) |
33 (add-hook 'go-mode-hook 'af-go-hook) | 33 (add-hook 'go-mode-hook 'af-go-hook) |
34 (add-hook 'go-mode-hook 'go-eldoc-setup) | |
34 (let* ((loc (af-get-gocode-elisp-location)) | 35 (let* ((loc (af-get-gocode-elisp-location)) |
35 (el (concat loc "/company-go.el"))) | 36 (el (concat loc "/company-go.el"))) |
36 (if (file-exists-p el) | 37 (if (file-exists-p el) |
37 (progn | 38 (progn |
38 (message "Found gocode, loading company-mode support...") | 39 (message "Found gocode, loading company-mode support...") |