What is the recommended way to use Vim folding for Python code

后端 未结 11 2071
自闭症患者
自闭症患者 2020-12-22 16:33

I am interested in enabling code folding in Vim for Python code. I have noticed multiple ways to do so.

Does anyone have a preferred way to do Python code folding in

11条回答
  •  自闭症患者
    2020-12-22 16:59

    I use this syntax file for Python. It sets the folding method to syntax and folds all classes and functions, but nothing else.

提交回复
热议问题