From 6f703fcbb95e4a6e83fbcf29d8431ba9f0764c06 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Beno=C3=AEt?= Date: Mon, 7 Dec 2020 14:51:49 +0100 Subject: [PATCH] Visible whitespace - Display no-break spaces as warning signs --- cfg/05-visible-whitespace.vim | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cfg/05-visible-whitespace.vim b/cfg/05-visible-whitespace.vim index eee3280..f3dfc30 100644 --- a/cfg/05-visible-whitespace.vim +++ b/cfg/05-visible-whitespace.vim @@ -18,9 +18,11 @@ function! 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