mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-26 13:03:31 +00:00
Fix incorrect generic parameter hint defaults
This commit is contained in:
parent
e75dbe52a1
commit
8f044d9681
3 changed files with 6 additions and 6 deletions
|
@ -511,9 +511,9 @@ config_data! {
|
|||
/// Whether to show inlay hints as postfix ops (`.*` instead of `*`, etc).
|
||||
inlayHints_expressionAdjustmentHints_mode: AdjustmentHintsModeDef = AdjustmentHintsModeDef::Prefix,
|
||||
/// Whether to show const generic parameter name inlay hints.
|
||||
inlayHints_genericParameterHints_const_enable: bool= false,
|
||||
inlayHints_genericParameterHints_const_enable: bool= true,
|
||||
/// Whether to show generic lifetime parameter name inlay hints.
|
||||
inlayHints_genericParameterHints_lifetime_enable: bool = true,
|
||||
inlayHints_genericParameterHints_lifetime_enable: bool = false,
|
||||
/// Whether to show generic type parameter name inlay hints.
|
||||
inlayHints_genericParameterHints_type_enable: bool = false,
|
||||
/// Whether to show implicit drop hints.
|
||||
|
|
|
@ -655,12 +655,12 @@ Whether to hide inlay hints for type adjustments outside of `unsafe` blocks.
|
|||
--
|
||||
Whether to show inlay hints as postfix ops (`.*` instead of `*`, etc).
|
||||
--
|
||||
[[rust-analyzer.inlayHints.genericParameterHints.const.enable]]rust-analyzer.inlayHints.genericParameterHints.const.enable (default: `false`)::
|
||||
[[rust-analyzer.inlayHints.genericParameterHints.const.enable]]rust-analyzer.inlayHints.genericParameterHints.const.enable (default: `true`)::
|
||||
+
|
||||
--
|
||||
Whether to show const generic parameter name inlay hints.
|
||||
--
|
||||
[[rust-analyzer.inlayHints.genericParameterHints.lifetime.enable]]rust-analyzer.inlayHints.genericParameterHints.lifetime.enable (default: `true`)::
|
||||
[[rust-analyzer.inlayHints.genericParameterHints.lifetime.enable]]rust-analyzer.inlayHints.genericParameterHints.lifetime.enable (default: `false`)::
|
||||
+
|
||||
--
|
||||
Whether to show generic lifetime parameter name inlay hints.
|
||||
|
|
|
@ -1914,7 +1914,7 @@
|
|||
"properties": {
|
||||
"rust-analyzer.inlayHints.genericParameterHints.const.enable": {
|
||||
"markdownDescription": "Whether to show const generic parameter name inlay hints.",
|
||||
"default": false,
|
||||
"default": true,
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
|
@ -1924,7 +1924,7 @@
|
|||
"properties": {
|
||||
"rust-analyzer.inlayHints.genericParameterHints.lifetime.enable": {
|
||||
"markdownDescription": "Whether to show generic lifetime parameter name inlay hints.",
|
||||
"default": true,
|
||||
"default": false,
|
||||
"type": "boolean"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue