doc: Update sample Vim config with suitable (function) indentation settings.

This commit is contained in:
Diego Biurrun 2012-02-28 20:44:41 +01:00
parent a3dbd459ff
commit b553a425fb
1 changed files with 2 additions and 0 deletions

View File

@ -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.