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
.as_ref()?
.label_details_support
.as_ref()
})()
.is_some()
})() == Some(true)
}
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {