summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Misc/vimrc7
1 files changed, 7 insertions, 0 deletions
diff --git a/Misc/vimrc b/Misc/vimrc
index 93abef6..85ce348 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:-
+