Permalink
Browse files

Gofmt on save.

  • Loading branch information...
1 parent 076e80a commit dca624cf4736968b568e1b2917f93b803ad90a0f @cespare committed Jan 5, 2013
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

0 comments on commit dca624c

Please sign in to comment.