set foldmethod=syntax
set foldlnestmax=1 " only fold top-level things, not contained blocks
syntax sync fromstart " calculates new foldsset foldmethod=syntax
set foldlnestmax=1 " only fold top-level things, not contained blocks
syntax sync fromstart " calculates new folds