Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Gofmt on save.

  • Loading branch information...
commit dca624cf4736968b568e1b2917f93b803ad90a0f 1 parent 076e80a
@cespare authored
Showing with 2 additions and 0 deletions.
  1. +2 −0  vimrc
View
2  vimrc
@@ -255,6 +255,8 @@ let ruby_space_settings = 1
augroup golang
au!
au FileType go setlocal noexpandtab
+ " Fmt on save
+ au FileType go au BufWritePre <buffer> Fmt
augroup END
" Markdown settings
Please sign in to comment.
Something went wrong with that request. Please try again.