Bram Moolenaar wrote:
> Makes sense.  We can get the ID of the syntax item, and use a change in
> that as a signal to display the conceal character.
> I have implemented that, please try it out and let us know.
> If this doesn't work as intended, we should roll it back.
>
> Soon we can't make incompatible changes, thus please let's figure out
> how this should work very soon!

Doesn't this break the use case where we actually want everything to
be concealed together, for example all the special markers that the
TxtFormat plugin inserts? I assume these can have different highlight
groups.

Additionally, is Syntax ID the way to go? It believe it is possible to
define different syntax rules, with different cchar definition, but
with the same name and ID. (I base this statement on the ID returned
by the synID() vimscript function, if the definition in the C code is
different then this may be irrelevant).

-- 
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

Raspunde prin e-mail lui