mirror of https://github.com/python/cpython
Change C spacing to 4 spaces by default to match PEP 7 for new C files.
This commit is contained in:
parent
c5da53ba78
commit
04f031d202
|
@ -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.
|
||||||
|
|
Loading…
Reference in New Issue