Add support for container_name in workspace/symbol query

This commit is contained in:
Ville Penttinen 2019-02-12 21:47:51 +02:00
parent 61324a845b
commit dd6307ddc4
4 changed files with 116 additions and 17 deletions

View file

@ -190,7 +190,7 @@ pub fn handle_workspace_symbol(
name: nav.name().to_string(),
kind: nav.kind().conv(),
location: nav.try_conv_with(world)?,
container_name: None,
container_name: nav.container_name().map(|v| v.to_string()),
deprecated: None,
};
res.push(info);