diff options
author | Franck Cuny <fcuny@twitter.com> | 2019-06-12 16:16:27 -0700 |
---|---|---|
committer | Franck Cuny <fcuny@twitter.com> | 2019-06-12 16:16:27 -0700 |
commit | 5ff9fbd0afdd0cef491a5127967798da1a341b05 (patch) | |
tree | 2ebdee0ff8432e351ce037124a8ba022f2f9fac9 | |
parent | [emacs] another try to load correctly GOPATH (diff) | |
download | emacs.d-5ff9fbd0afdd0cef491a5127967798da1a341b05.tar.gz |
[emacs] Trying to fix my go setup
There's a bunch of binaries that are completely out dated, and this is causing a lot of stuff to fail with emacs.
-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) |