tmhedberg/SimpylFold

only fold docstrings?

tr3buchet opened this issue · 3 comments

I'm trying to fold only docstrings, is this possible?

No, there's currently no option for this.

We can do a trick to achieve this task by modifying syntax.python - add fold at end of pythonDocString in that file.

This may be good enough:

:set foldlevel=2