From 767a0f86c0a2877761431c43dd6fa34adeb4508c Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Sat, 3 Jul 2010 21:50:52 +0000 Subject: [PATCH] Trailing whitespace is bad for .rst files. --- Misc/Vim/vimrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc index fc00b9e5c8..c398cca696 100644 --- a/Misc/Vim/vimrc +++ b/Misc/Vim/vimrc @@ -43,7 +43,7 @@ highlight BadWhitespace ctermbg=red guibg=red " Display tabs at the beginning of a line in Python mode as bad. au BufRead,BufNewFile *.py,*.pyw match BadWhitespace /^\t\+/ " Make trailing whitespace be flagged as bad. -au BufRead,BufNewFile *.py,*.pyw,*.c,*.h match BadWhitespace /\s\+$/ +au BufRead,BufNewFile *.py,*.pyw,*.c,*.h,*.rst match BadWhitespace /\s\+$/ " Wrap text after a certain number of characters " Python: 79 -- 2.50.0