diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs index c1795d90c47..8f02082f3e7 100644 --- a/crates/rust-analyzer/src/config.rs +++ b/crates/rust-analyzer/src/config.rs @@ -53,7 +53,7 @@ config_data! { assist_importEnforceGranularity: bool = "false", /// The path structure for newly inserted paths to use. assist_importPrefix: ImportPrefixDef = "\"plain\"", - /// Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines. + /// Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-import[following order]. Groups are separated by newlines. assist_importGroup: bool = "true", /// Whether to allow import insertion to merge new imports into single path glob imports like `use std::fmt::*;`. assist_allowMergingIntoGlobImports: bool = "true", diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc index f73e5420370..5e7b7222262 100644 --- a/docs/user/generated_config.adoc +++ b/docs/user/generated_config.adoc @@ -16,7 +16,7 @@ The path structure for newly inserted paths to use. [[rust-analyzer.assist.importGroup]]rust-analyzer.assist.importGroup (default: `true`):: + -- -Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines. +Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-import[following order]. Groups are separated by newlines. -- [[rust-analyzer.assist.allowMergingIntoGlobImports]]rust-analyzer.assist.allowMergingIntoGlobImports (default: `true`):: + diff --git a/editors/code/package.json b/editors/code/package.json index aed67e88ab0..5edfd4aa5f6 100644 --- a/editors/code/package.json +++ b/editors/code/package.json @@ -435,7 +435,7 @@ ] }, "rust-analyzer.assist.importGroup": { - "markdownDescription": "Group inserted imports by the [following order](https://rust-analyzer.github.io/manual.html#auto-import). Groups are separated by newlines.", + "markdownDescription": "Group inserted imports by the https://rust-analyzer.github.io/manual.html#auto-import[following order]. Groups are separated by newlines.", "default": true, "type": "boolean" },