-
Notifications
You must be signed in to change notification settings - Fork 888
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
imports_granularity
not working on global config file
#5471
Comments
I believe this might be a duplicate of #4613 |
I think the issue is that the Configurations.md is pointing to dirs v1.0.4, but we've since upgraded to dirs v4.0.0. Can you try placing the global config in |
For anyone wanting to work on this we just need to update the link in the first paragraph of the Configurations.md to point at the same version as listed in the Cargo.toml |
For what it's worth this was the PR that bumped the version #5237 |
Hey! Consider this PR :) |
@aizpurua23a thanks for the PR! @laralove143 when you have a moment please confirm that placing your config in |
it doesn't seem to detect the config, its at |
Can you try running with the |
this is very weird, if my config file is at
/Users/lara/Library/Preferences/rustfmt/rustfmt.toml
the options are detected (cargo fmt
complains it can't set the options on stable), but they don't do anything.. i'm not sure if onlyimports_granularity
is affectedputting the file at
/Users/lara/rustfmt.toml
or next toCargo.toml
makes it work finerustfmt version is
rustfmt 1.5.1-nightly (4d6d601c 2022-07-26)
The text was updated successfully, but these errors were encountered: