summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-02-28 20:44:41 +0100
committerDiego Biurrun <diego@biurrun.de>2012-04-16 10:12:45 +0200
commitb553a425fbd20b38a6cac5fd5e22ecca71e1f599 (patch)
tree6ba2960e757260a1711211d6f7aa71c61de6ab42 /doc
parenta3dbd459ffe1eef2705090d33e3bdaac539bb62f (diff)
downloadffmpeg-b553a425fbd20b38a6cac5fd5e22ecca71e1f599.tar.gz
doc: Update sample Vim config with suitable (function) indentation settings.
Diffstat (limited to 'doc')
-rw-r--r--doc/developer.texi2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/developer.texi b/doc/developer.texi
index a4fdf3a625..de642396dc 100644
--- a/doc/developer.texi
+++ b/doc/developer.texi
@@ -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.