Set ruby to 2 spaces instead of tabs

This commit is contained in:
Buddy Sandidge 2013-01-17 13:14:11 -08:00
parent 97df0690f3
commit ff75033816

6
vim/ftplugin/ruby.vim Normal file
View File

@ -0,0 +1,6 @@
set expandtab " expandtab converts tabs to spaces. For tabs, set noexpandtab
set shiftwidth=2 " unify
set softtabstop=2 " Pressing backspace works like tabs
set tabstop=2 " real tabs should be 4, but they will show with set list on