doc: Update sample Vim config with suitable (function) indentation settings.
This commit is contained in:
parent
a3dbd459ff
commit
b553a425fb
1 changed files with 2 additions and 0 deletions
|
|
@ -215,6 +215,8 @@ the following snippet into your @file{.vimrc}:
|
|||
set expandtab
|
||||
set shiftwidth=4
|
||||
set softtabstop=4
|
||||
set cindent
|
||||
set cinoptions=(0
|
||||
" allow tabs in Makefiles
|
||||
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=8
|
||||
" Trailing whitespace and tabs are forbidden, so highlight them.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue