summaryrefslogtreecommitdiffstats
path: root/Misc/Vim
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2006-05-26 19:04:47 (GMT)
committerBrett Cannon <bcannon@gmail.com>2006-05-26 19:04:47 (GMT)
commit04f031d202543b4301715c6f28685acdcdbd4d1c (patch)
tree517daad3b76a8e26044fcbd1b2e6a1b2ba167d9e /Misc/Vim
parentc5da53ba78cc00d8de448f99eb185067d53302ba (diff)
downloadcpython-04f031d202543b4301715c6f28685acdcdbd4d1c.zip
cpython-04f031d202543b4301715c6f28685acdcdbd4d1c.tar.gz
cpython-04f031d202543b4301715c6f28685acdcdbd4d1c.tar.bz2
Change C spacing to 4 spaces by default to match PEP 7 for new C files.
Diffstat (limited to 'Misc/Vim')
-rw-r--r--Misc/Vim/vimrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc
index 7cd33db..af60614 100644
--- a/Misc/Vim/vimrc
+++ b/Misc/Vim/vimrc
@@ -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.