From: Brett Cannon Date: Mon, 20 Sep 2004 22:33:21 +0000 (+0000) Subject: Add a commented-out recipe on making trailing whitespace explicit. X-Git-Tag: v2.4b1~226 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=24a0045d58a48d7a222825461ed03630f85e372d;p=thirdparty%2FPython%2Fcpython.git Add a commented-out recipe on making trailing whitespace explicit. If people think this is not too intrusive it could be uncommented. --- diff --git a/Misc/vimrc b/Misc/vimrc index 93abef637d06..85ce3483220d 100644 --- a/Misc/vimrc +++ b/Misc/vimrc @@ -76,3 +76,10 @@ au BufNewFile *.py,*.pyw,*.c,*.h set fileformat=unix " Automatically indent: ``filetype indent on`` " Fold based on indentation: ``set foldmethod=indent`` + +" Make trailing whitespace explicit: +"highlight WhitespaceEOL ctermbg=red guibg=red +"match WhitespaceEOL /\s\+$/ +" or +"set list listchars=trail:- +