Change C spacing to 4 spaces by default to match PEP 7 for new C files.

This commit is contained in:
Brett Cannon 2006-05-26 19:04:47 +00:00
parent c5da53ba78
commit 04f031d202
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@
" Python: 4 spaces " Python: 4 spaces
" C: tab (8 spaces) " C: tab (8 spaces)
au BufRead,BufNewFile *.py,*pyw set shiftwidth=4 au BufRead,BufNewFile *.py,*pyw set shiftwidth=4
au BufRead,BufNewFile *.c,*.h set shiftwidth=8 au BufRead,BufNewFile *.c,*.h set shiftwidth=4
" Number of spaces that a pre-existing tab is equal to. " Number of spaces that a pre-existing tab is equal to.
" For the amount of space used for a new tab use shiftwidth. " For the amount of space used for a new tab use shiftwidth.