Rewrite label_details_support
condition to be consistent with other parts of the codebase.
This commit is contained in:
parent
d7f137ea7a
commit
bc6b2ec10e
@ -210,10 +210,7 @@ pub fn completion_label_details_support(&self) -> bool {
|
|||||||
.completion_item
|
.completion_item
|
||||||
.as_ref()?
|
.as_ref()?
|
||||||
.label_details_support
|
.label_details_support
|
||||||
.as_ref()
|
})() == Some(true)
|
||||||
})()
|
|
||||||
.copied()
|
|
||||||
.unwrap_or_default()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {
|
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {
|
||||||
|
Loading…
Reference in New Issue
Block a user