mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-30 22:01:18 +00:00
[ty] Default ty.inlayHints.*
server settings to true (#19910)
## Summary This PR changes the default of `ty.inlayHints.*` settings to `true`. I somehow missed this in my initial PR. This is marked as `internal` because it's not yet released.
This commit is contained in:
parent
d324cedfc2
commit
2ee47d87b6
3 changed files with 68 additions and 4 deletions
|
@ -243,8 +243,8 @@ struct InlayHintOptions {
|
|||
impl InlayHintOptions {
|
||||
fn into_settings(self) -> InlayHintSettings {
|
||||
InlayHintSettings {
|
||||
variable_types: self.variable_types.unwrap_or_default(),
|
||||
function_argument_names: self.function_argument_names.unwrap_or_default(),
|
||||
variable_types: self.variable_types.unwrap_or(true),
|
||||
function_argument_names: self.function_argument_names.unwrap_or(true),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue