Section headers should not be malformed (e.g. without {}), else folding
ranges will not be created.
Environments Folding
Environment declaration commands should be balanced (e.g. no excess \end{}s)
and never malformed (e.g. without {...}), else folding ranges will not be
created.