Skip to content

Commit

Permalink
Revert "[vim] Use goreturns as go fmt command"
Browse files Browse the repository at this point in the history
This reverts commit 4cbe6c0.

`goreturns` was returning output to stdout, rather than writing to a
file. I was hoping for a drop-in replacement for `gofmt`/`goimports`.

See also:
fatih/vim-go#208
  • Loading branch information
mattbostock committed Jan 31, 2015
1 parent ca82e8c commit 9651034
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vimrc
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ Plugin 'tpope/vim-fugitive.git'
Plugin 'tpope/vim-rails.git'

"Golang settings for vim-go plugin
let g:go_fmt_command = "goreturns"
let g:go_fmt_command = "goimports"
let g:go_highlight_functions = 1
let g:go_highlight_methods = 1
let g:go_highlight_structs = 1
Expand Down

0 comments on commit 9651034

Please sign in to comment.