Re: Multiple conceals collapse to single character

2010-07-24 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: I tried the following trick: syn match texGreek '\\alpha\' contained conceal cchar=á nextgroup=texGreek2 syn match texGreek2 '\\alpha\' contained conceal cchar=á nextgroup=texGreek So $\alpha\alpha$ has the first \alpha as texGreek, and the second one

Re: Multiple conceals collapse to single character

2010-07-23 Fir de Conversatie Ben Fritz
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

Re: Multiple conceals collapse to single character

2010-07-22 Fir de Conversatie Charles Campbell
Vince Negri wrote: From: Ben Fritz [mailto:fritzophre...@gmail.com] On Jul 10, 1:18 pm, Benjamin R. Haskellv...@benizi.com wrote: Multiple conceal matches/regions get collapsed into a single character. I'm not sure if this is intended, but it is certainly confusing. I

Re: Multiple conceals collapse to single character

2010-07-22 Fir de Conversatie Bram Moolenaar
Charles Campbell wrote: Vince Negri wrote: From: Ben Fritz [mailto:fritzophre...@gmail.com] On Jul 10, 1:18 pm, Benjamin R. Haskellv...@benizi.com wrote: Multiple conceal matches/regions get collapsed into a single character. I'm not sure if this is intended, but it is

Re: Multiple conceals collapse to single character

2010-07-22 Fir de Conversatie Charles E Campbell Jr
Bram Moolenaar wrote: Charles Campbell wrote: I tried the following trick: syn match texGreek '\\alpha\' contained conceal cchar=á nextgroup=texGreek2 syn match texGreek2 '\\alpha\' contained conceal cchar=á nextgroup=texGreek So $\alpha\alpha$ has the first \alpha as texGreek, and the

RE: Multiple conceals collapse to single character

2010-07-13 Fir de Conversatie Vince Negri
From: Ben Fritz [mailto:fritzophre...@gmail.com] On Jul 10, 1:18 pm, Benjamin R. Haskell v...@benizi.com wrote: Multiple conceal matches/regions get collapsed into a single character.   I'm not sure if this is intended, but it is certainly confusing. I think it is intended, for use cases like

Re: Multiple conceals collapse to single character

2010-07-12 Fir de Conversatie Ben Fritz
On Jul 10, 1:18 pm, Benjamin R. Haskell v...@benizi.com wrote: Multiple conceal matches/regions get collapsed into a single character.   I'm not sure if this is intended, but it is certainly confusing. I think it is intended, for use cases like multiple invisible markers to provide syntax

Multiple conceals collapse to single character

2010-07-10 Fir de Conversatie Benjamin R. Haskell
Multiple conceal matches/regions get collapsed into a single character. I'm not sure if this is intended, but it is certainly confusing. It also prevents at least one example in the documentation from working sensibly: e.g., from :help :syn-cchar syntax match Entity amp; conceal cchar=

Re: Multiple conceals collapse to single character

2010-07-10 Fir de Conversatie Tony Mechelynck
On 10/07/10 20:18, Benjamin R. Haskell wrote: Multiple conceal matches/regions get collapsed into a single character. I'm not sure if this is intended, but it is certainly confusing. It also prevents at least one example in the documentation from working sensibly: e.g., from :help :syn-cchar

Re: Multiple conceals collapse to single character

2010-07-10 Fir de Conversatie Benjamin R. Haskell
On Sat, 10 Jul 2010, Tony Mechelynck wrote: On 10/07/10 20:18, Benjamin R. Haskell wrote: [...] Using an example that has some corner cases: e.g. syntax match a /a/ conceal syntax match a /b/ cchar= conceal syntax match a /c/ conceal cchar=C syntax match a /d/ conceal [...]