Unnamed repository; edit this file 'description' to name the repository.
-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 119b94f060..5da4417b77 100644
--- a/crates/rust-analyzer/src/config.rs
+++ b/crates/rust-analyzer/src/config.rs
@@ -264,7 +264,7 @@ config_data! {
inlayHints_parameterHints_enable: bool = "true",
/// Whether to show inlay type hints for compiler inserted reborrows.
inlayHints_reborrowHints_enable: bool = "false",
- /// Whether to render trailing colons for parameter hints, and trailing colons for parameter hints.
+ /// Whether to render leading colons for type hints, and trailing colons for parameter hints.
inlayHints_renderColons: bool = "true",
/// Whether to show inlay type hints for variables.
inlayHints_typeHints_enable: bool = "true",
diff --git a/docs/user/generated_config.adoc b/docs/user/generated_config.adoc
index bc513601a8..0fad96dbcf 100644
--- a/docs/user/generated_config.adoc
+++ b/docs/user/generated_config.adoc
@@ -373,7 +373,7 @@ Whether to show inlay type hints for compiler inserted reborrows.
[[rust-analyzer.inlayHints.renderColons]]rust-analyzer.inlayHints.renderColons (default: `true`)::
+
--
-Whether to render trailing colons for parameter hints, and trailing colons for parameter hints.
+Whether to render leading colons for type hints, and trailing colons for parameter hints.
--
[[rust-analyzer.inlayHints.typeHints.enable]]rust-analyzer.inlayHints.typeHints.enable (default: `true`)::
+
diff --git a/editors/code/package.json b/editors/code/package.json
index 515ecd0295..241cafd369 100644
--- a/editors/code/package.json
+++ b/editors/code/package.json
@@ -814,7 +814,7 @@
"type": "boolean"
},
"rust-analyzer.inlayHints.renderColons": {
- "markdownDescription": "Whether to render trailing colons for parameter hints, and trailing colons for parameter hints.",
+ "markdownDescription": "Whether to render leading colons for type hints, and trailing colons for parameter hints.",
"default": true,
"type": "boolean"
},