Change the character to mark extra white spaces

This commit is contained in:
Jeremy Gardais 2016-06-27 12:06:31 +02:00
parent b592ddcdfb
commit 2cd5bc21ed
1 changed files with 2 additions and 2 deletions

4
vimrc
View File

@ -869,10 +869,10 @@ au BufWritePost * call ModeChange()
" Whitespaces and extra character
"################################
" Display '⏎' to mark an end of line
" Display '\' to mark extra white space at the end of a line
" Display '' to mark extra white space at the end of a line
" Display '⎵' to mark nbsp (fixed spaces,…)
set list
set listchars=eol:⏎,nbsp:⎵,trail:\
set listchars=eol:⏎,nbsp:⎵,tab:▸·,trail:␠
" Afficher les espaces superflus en gris clair
highlight ExtraWhitespace ctermbg=darkgray guibg=lightred
match ExtraWhitespace /\s\+$/