Change the character to mark extra white spaces
This commit is contained in:
parent
b592ddcdfb
commit
2cd5bc21ed
4
vimrc
4
vimrc
|
@ -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\+$/
|
||||
|
|
Loading…
Reference in New Issue