-
Notifications
You must be signed in to change notification settings - Fork 409
Open
Labels
Description
Describe the solution you'd like
When folding \begin{...} blocks, the fold text just states the \begin{...} part, not any of the arguments. It may sometimes be helpful to display the arguments, for example in the case of \begin{frame} in Beamer. Of course, some environments have horrendously long arguments that would not be useful in fold text, so perhaps this could be implemented as a configurable list of opt-in environments (or maybe a dictionary of environments to the number of arguments to show in fold text).
Describe alternatives you've considered
I could override the foldtext function as per #2532 but this seems like it would be quite beneficial to be upstreamed.