[Python-checkins] r46391 - python/trunk/Misc/Vim/vimrc

brett.cannon python-checkins at python.org
Fri May 26 21:04:48 CEST 2006


Author: brett.cannon
Date: Fri May 26 21:04:47 2006
New Revision: 46391
Modified:
 python/trunk/Misc/Vim/vimrc
Log:
Change C spacing to 4 spaces by default to match PEP 7 for new C files.
Modified: python/trunk/Misc/Vim/vimrc
==============================================================================
--- python/trunk/Misc/Vim/vimrc	(original)
+++ python/trunk/Misc/Vim/vimrc	Fri May 26 21:04:47 2006
@@ -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.


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /