From: Brett Cannon Date: Sat, 3 Jul 2010 21:50:52 +0000 (+0000) Subject: Trailing whitespace is bad for .rst files. X-Git-Tag: v3.2a1~334 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=767a0f86c0a2877761431c43dd6fa34adeb4508c;p=thirdparty%2FPython%2Fcpython.git Trailing whitespace is bad for .rst files. --- diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc index fc00b9e5c8ae..c398cca69673 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