Fill deprecation for LSP

This commit is contained in:
kjeremy 2019-02-05 17:05:46 -05:00
parent 569e1e871e
commit 852b083794
6 changed files with 86 additions and 23 deletions

View file

@ -140,7 +140,7 @@ pub fn handle_document_symbol(
name: symbol.label,
detail: symbol.detail,
kind: symbol.kind.conv(),
deprecated: None,
deprecated: Some(symbol.deprecated),
range: symbol.node_range.conv_with(&line_index),
selection_range: symbol.navigation_range.conv_with(&line_index),
children: None,