Tony Mechelynck wrote: > I notice that at the moment, the soft-hyphen (U+00AD) is displayed as > a blank character cell. I suggest to add an entry in 'listchars' (e.g. > shy:c) to display it as a glyph of the user's choice, so that e.g. > > :set lcs=eol:¶,tab:\|_,extends:>,precedes:<,conceal:*,nbsp:·,shy:↔ > > (assuming UTF-8 'encoding') would, in addition to what it already > does, display a soft-hyphen as a double-arrow in SpecialKey > highlighting. (I suppose that the added code would be similar to what > already exists for the no-break space.) > > A different default (a hyphen in SpecialKey, maybe?) might be felt > more useful: Bram (and other coders), what do you think?
Adding an item in 'lcs' sounds like a good idea. Doing this with a conceal item is more complex, and there are some side effects (perhaps desirable though). -- bashian roulette: $ ((RANDOM%6)) || rm -rf ~ /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\ /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ \\\ an exciting new programming language -- http://www.Zimbu.org /// \\\ help me help AIDS victims -- http://ICCF-Holland.org /// -- -- 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 [email protected]. For more options, visit https://groups.google.com/d/optout.
