Indent for C type files
This commit is contained in:
parent
f76d715ca7
commit
2ff5eedf06
2 changed files with 16 additions and 0 deletions
8
vim/after/ftplugin/c.vim
Normal file
8
vim/after/ftplugin/c.vim
Normal file
|
@ -0,0 +1,8 @@
|
|||
" C specific config
|
||||
|
||||
" Indentation
|
||||
setlocal autoindent
|
||||
setlocal si
|
||||
setlocal shiftwidth=4
|
||||
setlocal noexpandtab
|
||||
|
8
vim/after/ftplugin/cpp.vim
Normal file
8
vim/after/ftplugin/cpp.vim
Normal file
|
@ -0,0 +1,8 @@
|
|||
" C++ specific config
|
||||
|
||||
" Indentation
|
||||
setlocal autoindent
|
||||
setlocal si
|
||||
setlocal shiftwidth=4
|
||||
setlocal noexpandtab
|
||||
|
Loading…
Reference in a new issue