mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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.
This commit is contained in:
parent
94ee7da08d
commit
040c565e51
@ -229,7 +229,7 @@ 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/
|
||||||
|
Loading…
Reference in New Issue
Block a user