Steve Lianoglou <lists@...> writes:
Is this any different than what the Python bundle has to do for folding? If not, perhaps you can get inspiration from there .. it's a little flaky atm, but it can be done.
I'm afraid it is quite different. The fold markers must be given as regular expression but it seems multi-line expressions with the (?m) option do not work, and anyway, that would be a hack. Since the folding systems relies already on indentation, I thought that maybe it could be easy to add an option to use it exclusively... Piero