Skip to content

Commit

Permalink
Rewrite label_details_support condition to be consistent with other…
Browse files Browse the repository at this point in the history
… parts of the codebase.
  • Loading branch information
jaboatman committed Oct 23, 2024
1 parent d7f137e commit bc6b2ec
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -210,10 +210,7 @@ impl ClientCapabilities {
.completion_item
.as_ref()?
.label_details_support
.as_ref()
})()
.copied()
.unwrap_or_default()
})() == Some(true)
}

fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {
Expand Down

0 comments on commit bc6b2ec

Please sign in to comment.