Add ⎵ to mark nbsp
This commit is contained in:
parent
f2c9a62b0b
commit
b592ddcdfb
5
vimrc
5
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\+$/
|
||||
|
|
Loading…
Reference in New Issue