Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

only fold docstrings? #100

Open
tr3buchet opened this issue Apr 9, 2018 · 3 comments
Open

only fold docstrings? #100

tr3buchet opened this issue Apr 9, 2018 · 3 comments

Comments

@tr3buchet
Copy link

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

@tmhedberg
Copy link
Owner

No, there's currently no option for this.

@ghost
Copy link

ghost commented Aug 29, 2018

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

@dvrlabs
Copy link

dvrlabs commented Apr 7, 2023

This may be good enough:

:set foldlevel=2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants