Visible whitespace - Display no-break spaces as warning signs

This commit is contained in:
Emmanuel BENOîT 2020-12-07 14:51:49 +01:00
parent 66a088a1ad
commit 6f703fcbb9

View file

@ -18,9 +18,11 @@ function! <SID>SwitchVisibleTabs()
if s:VisibleTabs == 1
let s:VisibleTabs = 0
call s:UpdateListChars( "tab" , " " )
call s:UpdateListChars( "nbsp" , " " )
else
let s:VisibleTabs = 1
call s:UpdateListChars( "tab" , "» " )
call s:UpdateListChars( "nbsp" , "⚠" )
endif
endfunction