Hi Marius!

On Fr, 24 Apr 2015, Marius Gedminas wrote:

> On Thu, Apr 23, 2015 at 09:17:57PM +0200, Christian Brabandt wrote:
> > Bram,
> > Vim is treating U+0160 special with the listchars flag "nbsp".
> > But there are more non-breaking spaces, e.g. U+202F (narrow no-break 
> > space) and U+FEFF (zero width no-break space).
> 
> (U+FEFF is also known as the Byte Order Mark.)

Oh yes, I should have known that. I got confused, because that was not 
mentioned in the Unicode Table I used to lookup the names.

> 
> > So here is a patch, that will also use the nbsp flag for those two chars 
> > as well.
> > 
> > Also, one could argue, U+FEFF should be displayed as ' ' and not as 
> > <feff> but for now I leave it as is.
> 
> U+FEFF is zero-width, ' ' isn't.  I don't think it's a good idea to make
> it appear the same as other no-break spaces.

Yes, it should probably left alone.

Mit freundlichen Grüßen
Christian
-- 
Man wird in der Freundschaft und der Liebe leicht Heuchler, der
übertreibt, wenn man das stärkste Bedürfnis und Gefühl beider hat und
den Gegenstand dazu entbehrt; und doch falschen dafür sucht und nimmt.
                -- Jean Paul

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui