Add ⎵ to mark nbsp

This commit is contained in:
gardouille 2016-06-27 10:37:17 +02:00
parent f2c9a62b0b
commit b592ddcdfb
1 changed files with 3 additions and 2 deletions

5
vimrc
View File

@ -866,12 +866,13 @@ au BufWritePost * call ModeChange()
"################################
" Espaces - caractères superflus
" 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 nbsp (fixed spaces,…)
set list
set listchars=eol:⏎,trail:\
set listchars=eol:⏎,nbsp:⎵,trail:\
" Afficher les espaces superflus en gris clair
highlight ExtraWhitespace ctermbg=darkgray guibg=lightred
match ExtraWhitespace /\s\+$/