diff options
| author | Miquel Sabaté <mikisabate@gmail.com> | 2014-10-06 10:49:48 +0200 |
|---|---|---|
| committer | Miquel Sabaté <mikisabate@gmail.com> | 2014-10-06 10:49:48 +0200 |
| commit | a9d01f0fc7d3868f8fe601f75f69eaffddee8266 (patch) | |
| tree | a98665493b5bd7d670d2673824bad2c8e4a0f0d1 /vim/autocmd.vim | |
| parent | db78c37b928be253a087851b416b557ec6b1e05e (diff) | |
| download | dotfiles-a9d01f0fc7d3868f8fe601f75f69eaffddee8266.tar.gz dotfiles-a9d01f0fc7d3868f8fe601f75f69eaffddee8266.zip | |
vim: properly set noexpandtab for Go and PHP.
Diffstat (limited to 'vim/autocmd.vim')
| -rw-r--r-- | vim/autocmd.vim | 4 |
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. |
