mirror of
https://github.com/rust-lang/rust-analyzer
synced 2025-01-14 14:13:58 +00:00
Fix checking for false
labelDetailsSupport
value.
This commit is contained in:
parent
f8ef75aa45
commit
d5ca001578
1 changed files with 2 additions and 1 deletions
|
@ -212,7 +212,8 @@ impl ClientCapabilities {
|
|||
.label_details_support
|
||||
.as_ref()
|
||||
})()
|
||||
.is_some()
|
||||
.copied()
|
||||
.unwrap_or_default()
|
||||
}
|
||||
|
||||
fn completion_item(&self) -> Option<CompletionOptionsCompletionItem> {
|
||||
|
|
Loading…
Reference in a new issue