Browse files

Use spaces for JS indentation in sencha projects.

  • Loading branch information...
nelstrom committed Jul 10, 2011
1 parent 322a71c commit e424f5cf6315b78204172b6689d817904ab9c830
Showing with 1 addition and 0 deletions.
  1. +1 −0 vimrc
1 vimrc
@@ -127,6 +127,7 @@ set directory=~/tmp
if has("autocmd")
autocmd FileType html,css,scss,ruby,pml,yaml,coffee,vim setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType javascript setlocal ts=4 sts=4 sw=4 noexpandtab
+ autocmd BufNewFile,BufRead ~/projects/sencha/**/*.js setlocal ts=4 sts=4 sw=4 et
autocmd FileType markdown setlocal wrap linebreak nolist
autocmd BufNewFile,BufRead *.rss setfiletype xml
autocmd BufNewFile,BufRead Rakefile,Capfile,Gemfile,Termfile, setfiletype ruby

0 comments on commit e424f5c

Please sign in to comment.