aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--vim/vimrc2
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/vimrc b/vim/vimrc
index 23e562e..d95b0f6 100644
--- a/vim/vimrc
+++ b/vim/vimrc
@@ -79,9 +79,11 @@ map <C-j> <C-w>j
map <C-k> <C-w>k
map <C-l> <C-w>l
+" Show tabs and end-of-line whitespace
set listchars=tab:»·,trail:·
set list
+" Color spaces at end of lines bright red for visibility
highlight ExtraWhitespace ctermbg=red guibg=red
match ExtraWhitespace /\s\+$/
autocmd BufWinEnter * match ExtraWhitespace /\s\+$/