Skip to content

Conversation

@mlechu
Copy link

@mlechu mlechu commented Oct 14, 2025

Fix #24, and fix our indent function moving a closing """ line. Feel free to close if this isn't the intended behaviour

@tpapp
Copy link
Collaborator

tpapp commented Oct 20, 2025

Thanks for doing this! It does fix most of the issue, however, if I call the fuction on Firstline in

"""
Firstline

Nullam eu ante vel est convallis dignissim. Fusce suscipit, wisi nec facilisis
facilisis, est dui fermentum leo, quis tempor ligula erat quis odio. Nunc porta
vulputate tellus. Nunc rutrum turpis sed pede. Sed bibendum. Aliquam posuere. Nunc
aliquet, augue nec adipiscing interdum, lacus tellus malesuada massa, quis varius mi
purus non odio. Pellentesque condimentum, magna ut suscipit hendrerit, ipsum augue
ornare nulla, non luctus diam neque sit amet urna. Curabitur vulputate vestibulum lorem.
Fusce sagittis, libero non molestie mollis, magna orci ultrices dolor, at vulputate
neque nulla lacinia eros. Sed id ligula quis est convallis tempor. Curabitur lacinia
pulvinar nibh. Nam a sapien.
"""

it ends up aligning it with the preceding """, can this be prevented?

Also, can you please add tests? See the examples in the file.

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

Successfully merging this pull request may close these issues.

fill-paragraph wraps too much

2 participants