diff --git a/vimrc b/vimrc index 1f34b6e..b2caa33 100644 --- a/vimrc +++ b/vimrc @@ -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\+$/