Revert "Stop setting CompletionItem::deprecated"

This reverts commit 299ce60995.
This commit is contained in:
Laurențiu Nicola 2020-12-21 15:58:26 +02:00
parent 7843ae6ddb
commit 328e0e2de7

View File

@ -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,