diff options
author | Brett Cannon <bcannon@gmail.com> | 2010-07-03 21:50:52 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2010-07-03 21:50:52 (GMT) |
commit | 767a0f86c0a2877761431c43dd6fa34adeb4508c (patch) | |
tree | 854774f276f6a49050d7d2a7c7f963739c298af9 /Misc/Vim | |
parent | 61b14251d3a653548f70350acb250cf23b696372 (diff) | |
download | cpython-767a0f86c0a2877761431c43dd6fa34adeb4508c.zip cpython-767a0f86c0a2877761431c43dd6fa34adeb4508c.tar.gz cpython-767a0f86c0a2877761431c43dd6fa34adeb4508c.tar.bz2 |
Trailing whitespace is bad for .rst files.
Diffstat (limited to 'Misc/Vim')
-rw-r--r-- | Misc/Vim/vimrc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Misc/Vim/vimrc b/Misc/Vim/vimrc index fc00b9e..c398cca 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 |