Skip to content

Commit

Permalink
Use goreturns
Browse files Browse the repository at this point in the history
  • Loading branch information
d4ncer committed May 14, 2018
1 parent ac6b7cf commit 0f90709
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion config/rk-go.el
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@

:config
(progn
(setq gofmt-command "goimports")
(setq gofmt-command "goreturns")
(setq gofmt-show-errors nil)
(evil-define-key 'normal go-mode-map (kbd "K") #'godoc-at-point)

Expand Down
1 change: 1 addition & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ go get -u -v github.com/kardianos/govendor
go get -u -v golang.org/x/tools/cmd/guru
go get -u -v golang.org/x/tools/cmd/gorename
go get -u -v golang.org/x/tools/cmd/goimports
go get -u -v github.com/sqs/goreturns

# JS setup
npm install -g eslint flow prettier eslint-config-airbnb eslint-config-prettier \
Expand Down

0 comments on commit 0f90709

Please sign in to comment.