Merge #6977
6977: Revert "Stop setting CompletionItem::deprecated" r=lnicola a=lnicola We should keep setting it, according to https://github.com/rust-analyzer/rust-analyzer/pull/6974#issuecomment-748983789. Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
commit
ab343e47c6
@ -281,7 +281,7 @@ pub(crate) fn handle_document_symbol(
|
||||
detail: symbol.detail,
|
||||
kind: to_proto::symbol_kind(symbol.kind),
|
||||
tags: Some(tags),
|
||||
deprecated: None,
|
||||
deprecated: Some(symbol.deprecated),
|
||||
range: to_proto::range(&line_index, symbol.node_range),
|
||||
selection_range: to_proto::range(&line_index, symbol.navigation_range),
|
||||
children: None,
|
||||
|
Loading…
x
Reference in New Issue
Block a user