Permalink
Browse files

Added whitespace prefs for ruby+javascript.

  • Loading branch information...
1 parent fddff59 commit 980112ae88d77692c95c26c555429ed9b3d14f9e @nelstrom committed May 12, 2010
Showing with 2 additions and 1 deletion.
  1. +2 −1 vimrc
View
3 vimrc
@@ -121,7 +121,8 @@ set listchars=tab:▸\ ,eol:¬
set backupdir=~/tmp
set directory=~/tmp
if has("autocmd")
- autocmd FileType html,css setlocal ts=2 sts=2 sw=2 expandtab
+ autocmd FileType html,css,ruby setlocal ts=2 sts=2 sw=2 expandtab
+ autocmd FileType javascript setlocal ts=4 sts=4 sw=4 noexpandtab
autocmd BufNewFile,BufRead *.rss setfiletype xml
endif

0 comments on commit 980112a

Please sign in to comment.