aboutsummaryrefslogtreecommitdiff
path: root/crates/server/src/main_loop/mod.rs
diff options
context:
space:
mode:
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 752d6ddb2..9499b826c 100644
--- a/crates/server/src/main_loop/mod.rs
+++ b/crates/server/src/main_loop/mod.rs
@@ -26,6 +26,7 @@ use {
26 handle_workspace_symbol, 26 handle_workspace_symbol,
27 handle_goto_definition, 27 handle_goto_definition,
28 handle_find_matching_brace, 28 handle_find_matching_brace,
29 handle_parent_module,
29 }, 30 },
30}; 31};
31 32
@@ -141,6 +142,9 @@ fn on_request(
141 handle_request_on_threadpool::<req::GotoDefinition>( 142 handle_request_on_threadpool::<req::GotoDefinition>(
142 &mut req, pool, world, sender, handle_goto_definition, 143 &mut req, pool, world, sender, handle_goto_definition,
143 )?; 144 )?;
145 handle_request_on_threadpool::<req::ParentModule>(
146 &mut req, pool, world, sender, handle_parent_module,
147 )?;
144 dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| { 148 dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| {
145 io.send(RawMsg::Response(resp.into_response(Ok(None))?)); 149 io.send(RawMsg::Response(resp.into_response(Ok(None))?));
146 150