Add a commented-out recipe on making trailing whitespace explicit.
If people think this is not too intrusive it could be uncommented.
This commit is contained in:
parent
bab3e99689
commit
24a0045d58
|
@ -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:-
|
||||
|
||||
|
|
Loading…
Reference in New Issue