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 6f8e75a559
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

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