mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
fix typo in inlayHints.renderColons
option description
This commit is contained in:
parent
b350a1bf6f
commit
2298a76222
3 changed files with 3 additions and 3 deletions
|
@ -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",
|
||||||
|
|
|
@ -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`)::
|
||||||
+
|
+
|
||||||
|
|
|
@ -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"
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue