fava icon indicating copy to clipboard operation
fava copied to clipboard

How to enable code folding in editor as default

Open avanc opened this issue 1 year ago • 1 comments

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.

avanc avatar Apr 02 '24 12:04 avanc

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.

yagebu avatar Dec 15 '24 18:12 yagebu