diff options
Diffstat (limited to 'Misc/Vim/vimrc')
-rw-r--r-- | Misc/Vim/vimrc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc index ff7c4c6..11ec638 100644 --- a/Misc/Vim/vimrc +++ b/Misc/Vim/vimrc @@ -21,7 +21,8 @@ " Python: 4 spaces " C: 4 spaces au BufRead,BufNewFile *.py,*pyw set shiftwidth=4 -au BufRead,BufNewFile *.c,*.h set shiftwidth=4 +au BufRead *.c,*.h set shiftwidth=8 +au 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. |