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

workaround for textwrap's broken tab handling while reflowing #7843

Closed

Conversation

callum-oakley
Copy link

This should ultimately be fixed upstream, but until there's movement on mgeisler/textwrap#490 is there appetite for a workaround?

Expands tabs to spaces, reflows, then swaps spaces back to tabs.

This is my first contribution so please do let me know if I've put anything in the wrong place / missed more appropriate APIs etc! 🙏

closes #3622

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.

:reflow messes up tab-indented comments
1 participant