* `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`.
6 lines
115 B
VimL
6 lines
115 B
VimL
let g:go_fmt_command = "goimports"
|
|
|
|
setlocal listchars=tab:\ \ ,trail:·,nbsp:·
|
|
setlocal noexpandtab
|
|
|
|
compiler go
|