aboutsummaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
Diffstat (limited to 'vim')
-rw-r--r--vim/autocmd.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/vim/autocmd.vim b/vim/autocmd.vim
index f6154f8..991f272 100644
--- a/vim/autocmd.vim
+++ b/vim/autocmd.vim
@@ -6,10 +6,10 @@ autocmd FileType sh set shiftwidth=4 tabstop=4
autocmd FileType perl set shiftwidth=4 tabstop=4
autocmd FileType c set shiftwidth=4 tabstop=4
autocmd FileType yacc set shiftwidth=4 tabstop=4
-autocmd FileType go set shiftwidth=4 tabstop=4
+autocmd FileType go set noexpandtab shiftwidth=4 tabstop=4
autocmd FileType ruby set shiftwidth=2 tabstop=2
autocmd FileType cpp set shiftwidth=4 tabstop=4
-autocmd FileType php set shiftwidth=4 tabstop=4
+autocmd FileType php set noexpandtab shiftwidth=4 tabstop=4
autocmd FileType javascript set shiftwidth=2 tabstop=2
" Call gofmt on save.