@@ -62,12 +62,10 @@ mod patch_old_style;
6262// To deprecate an option by replacing it with another name use `new_name | `old_name` so that we keep
6363// parsing the old name.
6464config_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
6766 ///
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)
6968 /// 2. Client's own configurations (e.g `settings.json` on VS Code)
70- /// 3. `rust-analyzer.toml` file located at the workspace root
7169 ///
7270 /// A config is searched for by traversing a "config tree" in a bottom up fashion. It is chosen by the nearest first principle.
7371 global: struct GlobalDefaultConfigData <- GlobalConfigInput -> {
@@ -532,7 +530,7 @@ config_data! {
532530 cargo_allTargets: bool = true ,
533531 /// Automatically refresh project info via `cargo metadata` on
534532 /// `Cargo.toml` or `.cargo/config.toml` changes.
535- pub ( crate ) cargo_autoreload: bool = true ,
533+ cargo_autoreload: bool = true ,
536534 /// Run build scripts (`build.rs`) for more precise code analysis.
537535 cargo_buildScripts_enable: bool = true ,
538536 /// Specifies the invocation strategy to use when running the build scripts command.
0 commit comments