SimpylFold
SimpylFold copied to clipboard
only fold docstrings?
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