Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Added whitespace prefs for ruby+javascript.

  • Loading branch information...
commit 980112ae88d77692c95c26c555429ed9b3d14f9e 1 parent fddff59
@nelstrom authored
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
Please sign in to comment.
Something went wrong with that request. Please try again.