folding docstrings in multiline function/class signatures
Closed this issue · 1 comments
jwkvam commented
Hello, I was trying out your very nice plugin and ran into this small issue. If I have a multiline function signature, attempting to fold the docstring folds the entire function body. For example the following would get folded into
def foo(a,b,
c):
"""
Hello world
"""
pass
this
+-- 6 lines: def foo(a,b,---
It appears this also happens for multiline class declarations but those seem to be scarce in the wild.
tmhedberg commented
Thanks for the bug report. It should be fixed now. Let me know if you encounter any more problems.