summaryrefslogtreecommitdiffstats
path: root/Misc/Vim/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'Misc/Vim/vimrc')
-rw-r--r--Misc/Vim/vimrc5
1 files changed, 3 insertions, 2 deletions
diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc
index 2d70699..2b5bf66 100644
--- a/Misc/Vim/vimrc
+++ b/Misc/Vim/vimrc
@@ -19,8 +19,9 @@
" Number of spaces to use for an indent.
" This will affect Ctrl-T and 'autoindent'.
" Python: 4 spaces
-" C: 4 spaces
-au BufRead,BufNewFile *.py,*pyw,*.c,*.h set shiftwidth=4
+" C: tab (8 spaces)
+au BufRead,BufNewFile *.py,*pyw set shiftwidth=4
+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.