diff options
author | Brett Cannon <bcannon@gmail.com> | 2004-09-20 22:33:21 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2004-09-20 22:33:21 (GMT) |
commit | 24a0045d58a48d7a222825461ed03630f85e372d (patch) | |
tree | d372394b858d3de2b7b8cfc5a46e56da38968641 /Misc/vimrc | |
parent | bab3e996894032e96993575182105817aedf90e0 (diff) | |
download | cpython-24a0045d58a48d7a222825461ed03630f85e372d.zip cpython-24a0045d58a48d7a222825461ed03630f85e372d.tar.gz cpython-24a0045d58a48d7a222825461ed03630f85e372d.tar.bz2 |
Add a commented-out recipe on making trailing whitespace explicit.
If people think this is not too intrusive it could be uncommented.
Diffstat (limited to 'Misc/vimrc')
-rw-r--r-- | Misc/vimrc | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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:- + |