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
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
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
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
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
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
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 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=
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
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
[...]
10 matches
Mail list logo