Skip to content

Instantly share code, notes, and snippets.

@hatchan
Created February 22, 2016 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hatchan/a43e056daf6822601773 to your computer and use it in GitHub Desktop.
Save hatchan/a43e056daf6822601773 to your computer and use it in GitHub Desktop.
goimports working with vim-go
let g:go_fmt_command = "goimports"
let g:go_fmt_options = "-srcdir " . expand("%:p:h")
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment