我使用foldmethod=indent
并且当我折叠这样的代码时:
def cake():
#cake!
print( "cake" )
print( "for" )
print( "you" )
我懂了
def cake():
#cake!
print( "cake" ) +++ 3 lines folded
但我想看看
def cake(): +++ 5 lines folded
有没有办法像这样折叠到第一行(def cake():
)?