aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src
diff options
context:
space:
mode:
authorHrvoje Ban <[email protected]>2019-01-24 17:21:17 +0000
committerHrvoje Ban <[email protected]>2019-01-24 18:05:26 +0000
commit4eff8ddb8b8352d432d87198d43c674696ca9344 (patch)
tree3181a8947d462331ae9bcd4ac2f11266f91e2c37 /crates/ra_lsp_server/src
parentabb9bfe44dfe1fb0685ead5e000ed281c55c8968 (diff)
Fill in DocumentSymbol::detail
Diffstat (limited to 'crates/ra_lsp_server/src')
-rw-r--r--crates/ra_lsp_server/src/main_loop/handlers.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main_loop/handlers.rs b/crates/ra_lsp_server/src/main_loop/handlers.rs
index d84f762f4..c0fe0216d 100644
--- a/crates/ra_lsp_server/src/main_loop/handlers.rs
+++ b/crates/ra_lsp_server/src/main_loop/handlers.rs
@@ -136,7 +136,7 @@ pub fn handle_document_symbol(
136 for symbol in world.analysis().file_structure(file_id) { 136 for symbol in world.analysis().file_structure(file_id) {
137 let doc_symbol = DocumentSymbol { 137 let doc_symbol = DocumentSymbol {
138 name: symbol.label, 138 name: symbol.label,
139 detail: Some("".to_string()), 139 detail: symbol.detail,
140 kind: symbol.kind.conv(), 140 kind: symbol.kind.conv(),
141 deprecated: None, 141 deprecated: None,
142 range: symbol.node_range.conv_with(&line_index), 142 range: symbol.node_range.conv_with(&line_index),