Commit b553a425 authored by Diego Biurrun's avatar Diego Biurrun

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

parent a3dbd459
...@@ -215,6 +215,8 @@ the following snippet into your @file{.vimrc}: ...@@ -215,6 +215,8 @@ the following snippet into your @file{.vimrc}:
set expandtab set expandtab
set shiftwidth=4 set shiftwidth=4
set softtabstop=4 set softtabstop=4
set cindent
set cinoptions=(0
" allow tabs in Makefiles " allow tabs in Makefiles
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=8 autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=8
" Trailing whitespace and tabs are forbidden, so highlight them. " Trailing whitespace and tabs are forbidden, so highlight them.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment