aboutsummaryrefslogtreecommitdiff
path: root/crates/server/src/main_loop/mod.rs
diff options
context:
space:
mode:
authorAleksey Kladov <[email protected]>2018-08-13 13:35:53 +0100
committerAleksey Kladov <[email protected]>2018-08-13 13:35:53 +0100
commitd19f3ac83441420365bff5e4ce21d1d2175bd8c2 (patch)
tree0523dc698784bb2501998956f8111b31f4e0387b /crates/server/src/main_loop/mod.rs
parent133d001d8296e51bcb4d0dc0982671f55c2c77d9 (diff)
workspace symbols
Diffstat (limited to 'crates/server/src/main_loop/mod.rs')
-rw-r--r--crates/server/src/main_loop/mod.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/crates/server/src/main_loop/mod.rs b/crates/server/src/main_loop/mod.rs
index f954e632c..e8b24355c 100644
--- a/crates/server/src/main_loop/mod.rs
+++ b/crates/server/src/main_loop/mod.rs
@@ -25,6 +25,7 @@ use {
25 handle_document_symbol, 25 handle_document_symbol,
26 handle_code_action, 26 handle_code_action,
27 handle_execute_command, 27 handle_execute_command,
28 handle_workspace_symbol,
28 }, 29 },
29}; 30};
30 31
@@ -148,6 +149,9 @@ fn on_request(
148 handle_request_on_threadpool::<req::CodeActionRequest>( 149 handle_request_on_threadpool::<req::CodeActionRequest>(
149 &mut req, pool, world, sender, handle_code_action, 150 &mut req, pool, world, sender, handle_code_action,
150 )?; 151 )?;
152 handle_request_on_threadpool::<req::WorkspaceSymbol>(
153 &mut req, pool, world, sender, handle_workspace_symbol,
154 )?;
151 dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| { 155 dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| {
152 io.send(RawMsg::Response(resp.into_response(Ok(None))?)); 156 io.send(RawMsg::Response(resp.into_response(Ok(None))?));
153 157