Hi Matěj!

On Fr, 17 Feb 2017, Matěj Cepl wrote:

> Hi,
> 
> would it be possible to do something about display of the soft 
> hyphen character (U+00AD)? I tried to use it in my rST file, but 
> ended up with a blank space. So I filed a bug against the font 
> I use (https://github.com/tonsky/FiraCode/issues/365), but 
> maintainer of the font (unfortunately correctly, IMO) closed it 
> as NOTABUG.
> 
> I think adding new item 'shy' to the possible keys of listchars 
> variable should be a good solution, what do you think?

It's not easily doable, but you can do the following using conceal 
feature:

:call matchadd('Conceal', '\%uad', 10, -1, {'conceal': '_'})
:setl concealcursor=nv conceallevel=2

Perhaps there are plugins that allow a more easy use. However, I don't 
think it is useful to add another option to 'listchars', as we have now 
concealing and that is flexible enough to do that.

Best,
Christian
-- 
Oft sind am besten Menschen dessen größte Tugenden und größte Flecken
unbekannt.
                -- 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 [email protected].
For more options, visit https://groups.google.com/d/optout.

Raspunde prin e-mail lui