Indentation and folding without a language

Hi Marijn,

I’d like to enable folding and auto indentation (on enter, based on previous line) for plain text. I’ve tried, and it seems /next’s /fold plugin (and /input/indent) don’t support this?

Is creating a custom language to enable these features the best/only way, or is there something else/better/simpler I could do?

Thank you in advance for your time, and everything you’re doing.

You can wire in whatever logic you want through the indentService and foldService facets, which aren’t dependent on syntax trees.