zed-industries / extensions

Extensions for the Zed editor
903 stars 391 forks source link

How to make tree-sitter blocks foldable? [Missing either documentation or functionality] #1357

Open LaPingvino opened 2 months ago

LaPingvino commented 2 months ago

I am working on the Fountain extension, and I see that Zed supports folding parts of the code. What does it look for to add that fold arrow?

LaPingvino commented 2 months ago

Seems it basically just folds on indentation...