Skip to content

Conversation

@eureka-cpu
Copy link
Contributor

The is nearly straight from rustfmt with some minor adjustments. It aids in formatting newlines depending on system type. Should help with #1888

@eureka-cpu eureka-cpu changed the title Adds functions and tests for NewlineStyle Adds associated functions for NewlineStyle Jun 7, 2022
Copy link
Member

@kayagokalp kayagokalp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm, but will defer to @mitchmindtree or @JoshuaBatty for the final decision 🚀

Copy link
Member

@JoshuaBatty JoshuaBatty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

sway-fmt-v2 should be able to handle indentations correctly.

4 participants