Clarify documentation on new parameter

This commit is contained in:
Victor Song 2023-09-30 21:21:00 -05:00
parent 53b6700594
commit ef0b3bbef1
3 changed files with 3 additions and 3 deletions

View File

@ -484,7 +484,7 @@ struct ConfigData {
/// This is useful to prevent rust-analyzer's `cargo check` from blocking builds.
///
/// Set to `true` to use a subdirectory of the existing target directory or
/// set to a path to use that path.
/// set to a path relative to the workspace to use that path.
rust_analyzerTargetDir: Option<TargetDirectory> = "null",
/// Path to the Cargo.toml of the rust compiler workspace, for usage in rustc_private

View File

@ -764,7 +764,7 @@ Optional path to a rust-analyzer specific target directory.
This is useful to prevent rust-analyzer's `cargo check` from blocking builds.
Set to `true` to use a subdirectory of the existing target directory or
set to a path to use that path.
set to a path relative to the workspace to use that path.
--
[[rust-analyzer.rustc.source]]rust-analyzer.rustc.source (default: `null`)::
+

View File

@ -1489,7 +1489,7 @@
}
},
"rust-analyzer.rust.analyzerTargetDir": {
"markdownDescription": "Optional path to a rust-analyzer specific target directory.\nThis is useful to prevent rust-analyzer's `cargo check` from blocking builds.\n\nSet to `true` to use a subdirectory of the existing target directory or\nset to a path to use that path.",
"markdownDescription": "Optional path to a rust-analyzer specific target directory.\nThis is useful to prevent rust-analyzer's `cargo check` from blocking builds.\n\nSet to `true` to use a subdirectory of the existing target directory or\nset to a path relative to the workspace to use that path.",
"default": null,
"anyOf": [
{