Fix checking for false labelDetailsSupport value.

This commit is contained in:
Jason Boatman 2024-10-23 12:57:11 -05:00
parent 7dad963782
commit d7f137ea7a

View File

@ -212,7 +212,8 @@ pub fn completion_label_details_support(&self) -> bool {
.label_details_support
.as_ref()
})()
.is_some()
.copied()
.unwrap_or_default()
}
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {