summaryrefslogtreecommitdiff
path: root/cli/lsp/config.rs
diff options
context:
space:
mode:
Diffstat (limited to 'cli/lsp/config.rs')
-rw-r--r--cli/lsp/config.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/lsp/config.rs b/cli/lsp/config.rs
index 3c44ebe05..04a48435f 100644
--- a/cli/lsp/config.rs
+++ b/cli/lsp/config.rs
@@ -168,14 +168,14 @@ pub struct InlayHintsVarTypesOptions {
#[serde(default)]
pub enabled: bool,
#[serde(default = "is_true")]
- pub suppress_when_argument_matches_name: bool,
+ pub suppress_when_type_matches_name: bool,
}
impl Default for InlayHintsVarTypesOptions {
fn default() -> Self {
Self {
enabled: false,
- suppress_when_argument_matches_name: true,
+ suppress_when_type_matches_name: true,
}
}
}
@@ -685,7 +685,7 @@ mod tests {
parameter_types: InlayHintsParamTypesOptions { enabled: false },
variable_types: InlayHintsVarTypesOptions {
enabled: false,
- suppress_when_argument_matches_name: true
+ suppress_when_type_matches_name: true
},
property_declaration_types: InlayHintsPropDeclTypesOptions {
enabled: false