最佳答案
How do I enable automatic folding in Vim? set foldmethod=syntax
doesn't seem to do much of anything.