6974: Stop setting CompletionItem::deprecated r=matklad a=lnicola

Closes #2042

We're now using the `CompletionItem::tags` field to mark `CompletionItem`s as deprecated, and `CompletionItem::deprecated` is gone from LSP.

Co-authored-by: Laurențiu Nicola <lnicola@dend.ro>
This commit is contained in:
bors[bot] 2020-12-21 12:10:01 +00:00 committed by GitHub
commit 7843ae6ddb
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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: Some(symbol.deprecated),
deprecated: None,
range: to_proto::range(&line_index, symbol.node_range),
selection_range: to_proto::range(&line_index, symbol.navigation_range),
children: None,