From faf88e1eed712ef5d999fd9609817d64cdea6769 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sat, 16 Jun 2012 16:33:53 +0200 Subject: [PATCH] vimrc: Fix highlight of Unicode whitespace. Broken in d37c09370e06f84c73e9e0c4750da5ef1c3d4bf9. --- vimrc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/vimrc b/vimrc index cfd10d4..79e709a 100644 --- a/vimrc +++ b/vimrc @@ -534,9 +534,10 @@ if has('syntax') \ '2003', '2004', '2005', '2006', '2007', '2008', \ '2009', '200a', '200b', '200c', '200d', '202f', \ '205f', '2060', '3000', 'feff'] - " Compatibility fix for Vim 6.4. + " Compatibility fix for Vim 6.4. Escape \ inside the " string or + " it won't work! execute ' for l:x in l:spaces' - \ '| call matchadd("Error", "\%u" . l:x)' + \ '| call matchadd("Error", "\\%u" . l:x)' \ '| endfor' endif endfunction -- 2.44.1