mirror of
https://github.com/rust-lang/rust-analyzer
synced 2024-12-27 05:23:24 +00:00
Merge pull request #18388 from jaboatman/master
Fix checking for `false` `labelDetailsSupport` value.
This commit is contained in:
commit
f0f26053ab
1 changed files with 1 additions and 3 deletions
|
@ -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> {
|
||||||
|
|
Loading…
Reference in a new issue