Skip to content

feat: Add option to trim final newlines - #504

Draft
humtta wants to merge 7 commits into
typstyle-rs:masterfrom
humtta-forks:feat/trim-final-newlines-option
Draft

humtta wants to merge 7 commits into
typstyle-rs:masterfrom
humtta-forks:feat/trim-final-newlines-option

Conversation

@humtta

@humtta humtta commented Sep 24, 2026

Copy link
Copy Markdown
Contributor

Summary

This PR adds an opt-in trim_final_newlines configuration option. When enabled, formatted output ends with exactly one newline.

Testing

Ran the unit tests; all of them passed successfully.

Additional Notes

See PR #502 for more context.

This branch has not been deployed

No deployments
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.

1 participant