Skip to content

Add support for reading rustfmt.toml from $HOMEDIR#520

Open
damemay wants to merge 2 commits intorust-lang:masterfrom
damemay:master
Open

Add support for reading rustfmt.toml from $HOMEDIR#520
damemay wants to merge 2 commits intorust-lang:masterfrom
damemay:master

Conversation

@damemay
Copy link

@damemay damemay commented Nov 15, 2024

Mimicks rustfmt standard behaviour and after searching through project files for rustfmt.toml, it also tries $HOMEDIR and $HOMEDIR/.config/rustfmt/, as per config/mod.rs.
Current :RustFmt behavior forces --edition 2018 when rustfmt.toml is not found in project directory.

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