diff options
| author | Lukas Wirth <lukastw97@gmail.com> | 2023-11-12 17:48:40 +0100 |
|---|---|---|
| committer | Lukas Wirth <lukastw97@gmail.com> | 2023-11-12 17:48:40 +0100 |
| commit | d6b908ec41df85bb3d557f7be6637968611c58a0 (patch) | |
| tree | dae2a4df42b712aec0ca6a0a19cb84fcff77dfb0 /docs | |
| parent | 92d9ca7d647f44094377cd4fb6d6a79c3bfa003e (diff) | |
| download | rust-d6b908ec41df85bb3d557f7be6637968611c58a0.tar.gz rust-d6b908ec41df85bb3d557f7be6637968611c58a0.zip | |
Fix import preference config keys
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/user/generated_config.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index 7460df49fc0..7091ea1ce9a 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -493,12 +493,12 @@ Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-i -- Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`. -- -[[rust-analyzer.imports.prefer.no.std]]rust-analyzer.imports.prefer.no.std (default: `false`):: +[[rust-analyzer.imports.preferNoStd]]rust-analyzer.imports.preferNoStd (default: `false`):: + -- Prefer to unconditionally use imports of the core and alloc crate, over the std crate. -- -[[rust-analyzer.imports.prefer.prelude]]rust-analyzer.imports.prefer.prelude (default: `false`):: +[[rust-analyzer.imports.preferPrelude]]rust-analyzer.imports.preferPrelude (default: `false`):: + -- Whether to prefer import paths containing a `prelude` module. |
