From b592ddcdfb9ceacc6ff5187fbc172a1403e24e08 Mon Sep 17 00:00:00 2001 From: Gardouille Date: Mon, 27 Jun 2016 10:37:17 +0200 Subject: [PATCH] =?UTF-8?q?Add=20=E2=8E=B5=20to=20mark=20nbsp?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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\+$/