[ty] Rename functionArgumentNames to callArgumentNames inlay hint setting (#19911)

## Summary

This PR renames `ty.inlayHints.functionArgumentNames` to
`ty.inlayHints.callArgumentNames` which would contain both function
calls and class initialization calls i.e., it represents a generic call
expression.
This commit is contained in:
Dhruv Manilawala 2025-08-14 14:21:38 +05:30 committed by GitHub
parent 2ee47d87b6
commit 1167ed61cf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 14 additions and 14 deletions

View file

@ -237,14 +237,14 @@ impl WorkspaceOptions {
#[serde(rename_all = "camelCase")]
struct InlayHintOptions {
variable_types: Option<bool>,
function_argument_names: Option<bool>,
call_argument_names: Option<bool>,
}
impl InlayHintOptions {
fn into_settings(self) -> InlayHintSettings {
InlayHintSettings {
variable_types: self.variable_types.unwrap_or(true),
function_argument_names: self.function_argument_names.unwrap_or(true),
call_argument_names: self.call_argument_names.unwrap_or(true),
}
}
}