workspace symbols

This commit is contained in:
Aleksey Kladov
2018-08-13 15:35:53 +03:00
parent 133d001d82
commit d19f3ac834
9 changed files with 75 additions and 43 deletions

View File

@@ -25,6 +25,7 @@ use {
handle_document_symbol,
handle_code_action,
handle_execute_command,
handle_workspace_symbol,
},
};
@@ -148,6 +149,9 @@ fn on_request(
handle_request_on_threadpool::<req::CodeActionRequest>(
&mut req, pool, world, sender, handle_code_action,
)?;
handle_request_on_threadpool::<req::WorkspaceSymbol>(
&mut req, pool, world, sender, handle_workspace_symbol,
)?;
dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| {
io.send(RawMsg::Response(resp.into_response(Ok(None))?));