Unnamed repository; edit this file 'description' to name the repository.
Merge #10329
10329: Fix link to "Auto Import" r=lnicola a=carlos-menezes https://github.com/rust-analyzer/rust-analyzer.github.io/pull/147#issuecomment-926600543 Co-authored-by: Carlos Menezes <[email protected]>
bors[bot] 2021-09-24
parent e6b64fd · parent 8ad484b · commit ef3a260
-rw-r--r--crates/rust-analyzer/src/config.rs2
-rw-r--r--docs/user/generated_config.adoc2
-rw-r--r--editors/code/package.json2
3 files changed, 3 insertions, 3 deletions
diff --git a/crates/rust-analyzer/src/config.rs b/crates/rust-analyzer/src/config.rs
index c1795d90c4..8f02082f3e 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 f73e542037..5e7b722226 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 aed67e88ab..5edfd4aa5f 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"
},