Skip to content

Commit

Permalink
use indent width of 2 in css by default, seems more common
Browse files Browse the repository at this point in the history
  • Loading branch information
janosgyerik committed Dec 8, 2013
1 parent 2a65881 commit b307e54
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions .vim/vimrc
Expand Up @@ -67,6 +67,7 @@ if has("autocmd")
autocmd FileType python setlocal ts=4 sts=4 sw=4 expandtab
autocmd FileType html setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType javascript setlocal ts=2 sts=2 sw=2 expandtab
autocmd FileType css setlocal ts=2 sts=2 sw=2 expandtab

" Treat .json files as .js
autocmd BufNewFile,BufRead *.json setfiletype json syntax=javascript
Expand Down

0 comments on commit b307e54

Please sign in to comment.