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

[Python] Handle docstring "summary" starting on second line #2

Conversation

FichteFoll
Copy link

The non-summary whitespace prior to the first non-whitespace character of the summary line should not receive the summary scope.

The non-summary whitespace prior to the first non-whitespace character
of the summary line should not receive the summary scope.
@deathaxe
Copy link
Owner

The reason, why I didn't implement it, was the resulting somewhat weird behavior of AutoFold plugin as it folds/unfolds leading whitespace with this PR merged. Maybe something the plugin should handle, haven't looked into it.

Animation

@deathaxe deathaxe merged commit e0e3468 into deathaxe:pr/python/refactor Feb 27, 2023
@FichteFoll
Copy link
Author

FichteFoll commented Feb 27, 2023

Yeah, I think this can and should be handled on the plugin side.

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