[Python-checkins] r82519 - python/branches/py3k/Misc/Vim/vimrc

brett.cannon python-checkins at python.org
Sat Jul 3 23:50:52 CEST 2010


Author: brett.cannon
Date: Sat Jul  3 23:50:52 2010
New Revision: 82519

Log:
Trailing whitespace is bad for .rst files.

Modified:
   python/branches/py3k/Misc/Vim/vimrc

Modified: python/branches/py3k/Misc/Vim/vimrc
==============================================================================
--- python/branches/py3k/Misc/Vim/vimrc	(original)
+++ python/branches/py3k/Misc/Vim/vimrc	Sat Jul  3 23:50:52 2010
@@ -43,7 +43,7 @@
 " 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 


More information about the Python-checkins mailing list