Merge pull request #18388 from jaboatman/master

Fix checking for `false` `labelDetailsSupport` value.
This commit is contained in:
Laurențiu Nicola 2024-10-23 18:33:04 +00:00 committed by GitHub
commit f0f26053ab
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -210,9 +210,7 @@ impl ClientCapabilities {
.completion_item .completion_item
.as_ref()? .as_ref()?
.label_details_support .label_details_support
.as_ref() })() == Some(true)
})()
.is_some()
} }
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> { fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {