Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

set css / html tab size to 2

  • Loading branch information...
commit 72617c2cf9c15890fc00037f480ed84a338ddfcc 1 parent 8b66922
@jaybperry jaybperry authored
Showing with 4 additions and 0 deletions.
  1. +4 −0 vimrc
4 vimrc
@@ -257,9 +257,12 @@ if has('autocmd')
autocmd FileType css set omnifunc=csscomplete#CompleteCSS
autocmd FileType css set equalprg=csstidy
+ autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType less set omnifunc=csscomplete#CompleteCSS
autocmd BufNewFile,BufRead *.less setfiletype less
+ autocmd FileType less setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType php set omnifunc=phpcomplete#CompletePHP
autocmd FileType php set ft=php.html
@@ -281,6 +284,7 @@ if has('autocmd')
if filereadable('./')
autocmd FileType python set ft=python.django " For SnipMate
autocmd FileType html set ft=htmldjango.html " For SnipMate
+ autocmd FileType htmldjango setlocal ts=2 sts=2 sw=2 expandtab
if filereadable('./symfony')
"symfony plugin configuration
Please sign in to comment.
Something went wrong with that request. Please try again.