doc: Update sample Vim config with suitable (function) indentation settings.
This commit is contained in:
parent
a3dbd459ff
commit
b553a425fb
@ -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…
Reference in New Issue
Block a user