@@ -62,12 +62,10 @@ mod patch_old_style;
62
62
// To deprecate an option by replacing it with another name use `new_name | `old_name` so that we keep
63
63
// parsing the old name.
64
64
config_data ! {
65
- /// Configs that apply on a workspace-wide scope. There are 3 levels on which a global configuration can be configured
66
- // FIXME: 1. and 3. should be split, some configs do not make sense per project
65
+ /// Configs that apply on a workspace-wide scope. There are 2 levels on which a global configuration can be configured
67
66
///
68
- /// 1. `rust-analyzer.toml` file under user's config directory (e.g ~/.config/rust-analyzer.toml)
67
+ /// 1. `rust-analyzer.toml` file under user's config directory (e.g ~/.config/rust-analyzer/rust-analyzer .toml)
69
68
/// 2. Client's own configurations (e.g `settings.json` on VS Code)
70
- /// 3. `rust-analyzer.toml` file located at the workspace root
71
69
///
72
70
/// A config is searched for by traversing a "config tree" in a bottom up fashion. It is chosen by the nearest first principle.
73
71
global: struct GlobalDefaultConfigData <- GlobalConfigInput -> {
@@ -532,7 +530,7 @@ config_data! {
532
530
cargo_allTargets: bool = true ,
533
531
/// Automatically refresh project info via `cargo metadata` on
534
532
/// `Cargo.toml` or `.cargo/config.toml` changes.
535
- pub ( crate ) cargo_autoreload: bool = true ,
533
+ cargo_autoreload: bool = true ,
536
534
/// Run build scripts (`build.rs`) for more precise code analysis.
537
535
cargo_buildScripts_enable: bool = true ,
538
536
/// Specifies the invocation strategy to use when running the build scripts command.
0 commit comments