scatterd-dotfiles/vim/ftplugin/go.vim
Greg Lazarev f25b410bba Avoid expanding tabs to spaces for Golang files
* `noexpandtab` will ensure tabs are used instead of staces when tabbing
or auto-indenting.
* `softtabstop=2` isn't needed because we are already setting
`tabstop=2` in our `.vimrc`.
2016-04-08 13:33:31 -04:00

6 lines
115 B
VimL

let g:go_fmt_command = "goimports"
setlocal listchars=tab:\ \ ,trail,nbsp
setlocal noexpandtab
compiler go