aboutsummaryrefslogtreecommitdiff
path: root/vimrc
diff options
context:
space:
mode:
authorJuan J. Martinez <jjm@usebox.net>2022-02-25 07:50:51 +0000
committerJuan J. Martinez <jjm@usebox.net>2022-05-29 22:57:31 +0100
commit40b44c0e6684fe3141d54299cc23d29b0dcfff8e (patch)
treec1384cbb142e902de5a1c0f6ee80e4a9637b534b /vimrc
parentfd92e5df3f8ebcae72dadbef8bd3b1c4d3e28693 (diff)
downloaddotnvim-40b44c0e6684fe3141d54299cc23d29b0dcfff8e.tar.gz
dotnvim-40b44c0e6684fe3141d54299cc23d29b0dcfff8e.zip
Show tabls an EOL whitespace
Using list instead of colours that sometimes interfere with other things.
Diffstat (limited to 'vimrc')
-rw-r--r--vimrc9
1 files changed, 2 insertions, 7 deletions
diff --git a/vimrc b/vimrc
index 3366bac..8163b26 100644
--- a/vimrc
+++ b/vimrc
@@ -149,13 +149,8 @@ colorscheme gruvbox
" toggle spell check
map <leader>s :set spell! spelllang=en_gb<CR>
-" EOL whitespace
-highlight ExtraWhitespace ctermbg=red guibg=red
-match ExtraWhitespace /\s\+$/
-autocmd BufWinEnter * match ExtraWhitespace /\s\+$/
-autocmd InsertEnter * match ExtraWhitespace /\s\+\%#\@<!$/
-autocmd InsertLeave * match ExtraWhitespace /\s\+$/
-autocmd BufWinLeave * call clearmatches()
+" show tabs and EOL whitespace
+:set list listchars=tab:»·,trail:·
" for tmux, screen, etc
set t_ut=