Open gabrielmontagne opened 2 weeks ago
I looked into it, and it looks like Zed does this automatically based on indentation! I didn't manage to find a way to enable folding based on the document structure instead... The header field folds exactly because it is tabbed/indented. If you add the tabs to the rest of your document, it will add the folds too... If you find any other way to add support, let me know, happy to add it! Feel free to play around with the code, and if you get stuck, I can help you out as well!
Thanks for checking @LaPingvino! Strange findings. Sure, I'll take a look on my end too. Cheers.
Thanks so much for enabling Fountain support on Zed!
One feature that would be nice is support for folding the script based on scenes, sections, etc. Here is the feature on VSCode, for example, where sections, and scenes, can be recursively folded,
Currently,
zed-fountain
only supports folds on header fields,Cheers!