Closed handcart2034 closed 2 months ago
Hello there, really appreciate this plugin.
Thanks!
I am a bit confused about the highlight for concealed texts tho, mainly because of the following comment in #2732,
Conceal displays them in even different colors.
I can understand the confusion. The thing is, conceals are highlighted uniformly with :help hl-Conceal
. There's not much I can do with that; sorry.
My question is is it possible to retain syntax group for those
cchar
's, as suggested by that comment? Thanks for your time.
No, it's not possible, as far as I know.
Description
Hello there, really appreciate this plugin. I am a bit confused about the highlight for concealed texts tho, mainly because of the following comment in #2732,
Here is a minimal example on my end,
Colorscheme is gruvbox-material, here is how it looks without conceal, note both
\alpha
and the unicodeα
are in green,Here is how it looks with conceal, hard to read in some colorschemes,
The reason is that concealed texts are highlighted by
Conceal
group instead of their original group such astexCmdGreek
. Because of this the suggested method is tohi clear Conceal
or linkConceal
toNormal
group, which makes it look likeAt least the text is readable now, but all concealed texts are highlighted as
Normal
, regardless of the original syntax group.My question is is it possible to retain syntax group for those
cchar
's, as suggested by that comment? Thanks for your time.Steps to reproduce
No response
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo