I would like to open all folds in a buffer recursively apart from folds which contain just text and no further folds.
I know that
zO opens all folds in a buffer but as explained this is different from what I would like to achieve. Furthermore it will also not help to set a specific fold level because the depth in the fold hierarchy is very different.
Is there a way to achieve what I want?