]> granicus.if.org Git - python/commitdiff
Change C spacing to 4 spaces by default to match PEP 7 for new C files.
authorBrett Cannon <bcannon@gmail.com>
Fri, 26 May 2006 19:04:47 +0000 (19:04 +0000)
committerBrett Cannon <bcannon@gmail.com>
Fri, 26 May 2006 19:04:47 +0000 (19:04 +0000)
Misc/Vim/vimrc

index 7cd33dbfba300750b17b1aa9f9dbffa200975490..af60614b1700661ba7f2fa4b9fd57f3ca60fe4c2 100644 (file)
@@ -21,7 +21,7 @@
 " Python: 4 spaces
 " C: tab (8 spaces)
 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.
 " For the amount of space used for a new tab use shiftwidth.