diff options
Diffstat (limited to '')
-rw-r--r-- | Makefile | 8 | ||||
-rw-r--r-- | emacs.d/custom/fcuny-go.el | 2 |
2 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile index a2dcf1b..5d33474 100644 --- a/Makefile +++ b/Makefile @@ -32,6 +32,14 @@ $(HOME)/Documents/screenshots: osx: @./scripts/osx.sh +.PHONY: go-setup +go-setup: + @go get -u github.com/kisielk/errcheck + @go get -u github.com/rogpeppe/godef + @go get -u github.com/zmb3/gogetdoc + @go get -u golang.org/x/tools/cmd/goimports + @go get -u golang.org/x/tools/cmd/guru + .PHONY: git git: @git config --local user.email "franck.cuny@gmail.com" diff --git a/emacs.d/custom/fcuny-go.el b/emacs.d/custom/fcuny-go.el index b7a7d1b..75bd042 100644 --- a/emacs.d/custom/fcuny-go.el +++ b/emacs.d/custom/fcuny-go.el @@ -8,6 +8,8 @@ ("M-*" . pop-tag-mark)) :custom (godoc-use-completing-read t) + ;; see https://github.com/dominikh/go-mode.el/issues/262 + (godoc-at-point-function 'godoc-gogetdoc) :init (defun fcuny/go-mode-setup () (setq tab-width 4) |