fix typo in inlayHints.renderColons option description

This commit is contained in:
Elliot Roberts 2022-05-10 19:15:07 -07:00
parent b350a1bf6f
commit 2298a76222
3 changed files with 3 additions and 3 deletions

View file

@ -264,7 +264,7 @@ config_data! {
inlayHints_parameterHints_enable: bool = "true", inlayHints_parameterHints_enable: bool = "true",
/// Whether to show inlay type hints for compiler inserted reborrows. /// Whether to show inlay type hints for compiler inserted reborrows.
inlayHints_reborrowHints_enable: bool = "false", 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", inlayHints_renderColons: bool = "true",
/// Whether to show inlay type hints for variables. /// Whether to show inlay type hints for variables.
inlayHints_typeHints_enable: bool = "true", inlayHints_typeHints_enable: bool = "true",

View file

@ -373,7 +373,7 @@ Whether to show inlay type hints for compiler inserted reborrows.
[[rust-analyzer.inlayHints.renderColons]]rust-analyzer.inlayHints.renderColons (default: `true`):: [[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`):: [[rust-analyzer.inlayHints.typeHints.enable]]rust-analyzer.inlayHints.typeHints.enable (default: `true`)::
+ +

View file

@ -814,7 +814,7 @@
"type": "boolean" "type": "boolean"
}, },
"rust-analyzer.inlayHints.renderColons": { "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, "default": true,
"type": "boolean" "type": "boolean"
}, },