fava
fava copied to clipboard
How to enable code folding in editor as default
Fold sections in the editor is a helpful feature. Is there a way to activate it as default (i.e. everything is folded instead of unfolded)? I found https://github.com/beancount/fava/commit/01a6582b32dc5e6a5ac84db6c42009622f52a312 but there is nothing mentioned regarding a config parameter.
AFAICT, there's no built-in configuration for codemirror for this. So this would probably have to be some effect that runs on file switches in the editor. A PR implementing this would be welcome.