doc: developer: Allow tabs in the vim configuration for Automake files

While we do not use Automake in libav, this allows our config to be
used more globally without introducing unwanted breakage.
(cherry picked from commit 040c565e51985477a8fa5e42d2ddfb26ebde6608)

Conflicts:

	doc/developer.texi
This commit is contained in:
Diego Biurrun 2013-02-22 22:06:37 +01:00
parent f20764102b
commit c3829f7085

View File

@ -215,8 +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
" allow tabs in Makefiles " Allow tabs in Makefiles.
autocmd FileType make set noexpandtab shiftwidth=8 softtabstop=8 autocmd FileType make,automake set noexpandtab shiftwidth=8 softtabstop=8
" Trailing whitespace and tabs are forbidden, so highlight them. " Trailing whitespace and tabs are forbidden, so highlight them.
highlight ForbiddenWhitespace ctermbg=red guibg=red highlight ForbiddenWhitespace ctermbg=red guibg=red
match ForbiddenWhitespace /\s\+$\|\t/ match ForbiddenWhitespace /\s\+$\|\t/