Visible whitespace - Display no-break spaces as warning signs
This commit is contained in:
parent
66a088a1ad
commit
6f703fcbb9
1 changed files with 2 additions and 0 deletions
|
@ -18,9 +18,11 @@ function! <SID>SwitchVisibleTabs()
|
||||||
if s:VisibleTabs == 1
|
if s:VisibleTabs == 1
|
||||||
let s:VisibleTabs = 0
|
let s:VisibleTabs = 0
|
||||||
call s:UpdateListChars( "tab" , " " )
|
call s:UpdateListChars( "tab" , " " )
|
||||||
|
call s:UpdateListChars( "nbsp" , " " )
|
||||||
else
|
else
|
||||||
let s:VisibleTabs = 1
|
let s:VisibleTabs = 1
|
||||||
call s:UpdateListChars( "tab" , "» " )
|
call s:UpdateListChars( "tab" , "» " )
|
||||||
|
call s:UpdateListChars( "nbsp" , "⚠" )
|
||||||
endif
|
endif
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue