move folding from syntax to preferences