Fill in DocumentSymbol::detail

This commit is contained in:
Hrvoje Ban 2019-01-24 18:21:17 +01:00
parent abb9bfe44d
commit 4eff8ddb8b
5 changed files with 179 additions and 59 deletions

View file

@ -136,7 +136,7 @@ pub fn handle_document_symbol(
for symbol in world.analysis().file_structure(file_id) {
let doc_symbol = DocumentSymbol {
name: symbol.label,
detail: Some("".to_string()),
detail: symbol.detail,
kind: symbol.kind.conv(),
deprecated: None,
range: symbol.node_range.conv_with(&line_index),