This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Make vim indent 2 spaces for ruby and scala files only | |
filetype plugin indent on | |
set sw=4 | |
set ts=4 | |
:autocmd Filetype ruby set softtabstop=2 | |
:autocmd Filetype ruby set sw=2 | |
:autocmd Filetype ruby set ts=2 | |
:autocmd Filetype scala set softtabstop=2 | |
:autocmd Filetype scala set sw=2 |