junegunn / limelight.vim

:flashlight: All the world's indeed a stage and we are merely players
MIT License
2.36k stars 54 forks source link

Conceals and Folds #1

Closed gleachkr closed 10 years ago

gleachkr commented 10 years ago

This is very cool. I noticed one quirk when working with LaTeX, where there are often some conceals and folds. Here's what it looks like:

screenshot

The folds are not a big deal, but the conceals are a little distracting. It'd be nice if these could be greyed out too.

junegunn commented 10 years ago

Hi, thanks for the suggestion. However, after some googling, I realized that it is not possible. See: http://stackoverflow.com/questions/24131474/can-i-fix-conceal-highlight-group-background-in-highlighted-lines So, there's no way to selectively gray out conceal chars only in the surrounding paragraphs. :disappointed:

Cutuchiqueno commented 10 years ago

I experience the same problem with conceals in pandoc markdown. My workaround which seems quiete sufficient for me is to add set conceallevel=0, i.e. basically turn conceal off while in goyo view. It's ok for me because the general idea of limelight is to get away with everything apart from the line I am writing in, which is the line where conceals are generally not applied.

Hotschke commented 9 years ago

What about the closed folds? I would like to have them greyed out, if I am not with the cursor on the foldtext line.

junegunn commented 9 years ago

Unfortunately, I don't think it's possible.