Package folding provides folding range support for HCL files.
This implementation is dependent on the calling extension (vscode versus intellij)
that expect slightly different ranges for folding behavior.
Collect returns all foldable ranges for the given HCL file.
It folds blocks and object expressions with '{' delimiters.
Tuples/lists with '[]' are not folded due to lsp4ij limitations.