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 040c565e51)

Conflicts:

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

View File

@@ -221,8 +221,8 @@ set shiftwidth=4
set softtabstop=4 set softtabstop=4
set cindent set cindent
set cinoptions=(0 set cinoptions=(0
" 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/