gregsexton / origami.el

A folding minor mode for Emacs
510 stars 41 forks source link

Allow parsers to provide a custom string to show. #97

Open HugoNikanor opened 4 years ago

HugoNikanor commented 4 years ago

This adds support for a parser to supply a custom string. Provides a similar feature to the offset, but works nicer when the identifying information is somewhere except the start. Could for example be used to show the while-clause of a do-while block.