diff options
author | Aleksey Kladov <[email protected]> | 2018-08-23 20:14:51 +0100 |
---|---|---|
committer | Aleksey Kladov <[email protected]> | 2018-08-23 20:14:51 +0100 |
commit | 8ad586a44e2214a11c4e7d27e0d3c2d73e43f39f (patch) | |
tree | 70c553dd0231189acf0695b63688f21fb94867dc /crates/server/src/main_loop/mod.rs | |
parent | 18918769baf49acc4067eabdc0c3a0a98224d23f (diff) |
JoinLines frontend
Diffstat (limited to 'crates/server/src/main_loop/mod.rs')
-rw-r--r-- | crates/server/src/main_loop/mod.rs | 4 |
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 9499b826c..1e65041e2 100644 --- a/crates/server/src/main_loop/mod.rs +++ b/crates/server/src/main_loop/mod.rs | |||
@@ -27,6 +27,7 @@ use { | |||
27 | handle_goto_definition, | 27 | handle_goto_definition, |
28 | handle_find_matching_brace, | 28 | handle_find_matching_brace, |
29 | handle_parent_module, | 29 | handle_parent_module, |
30 | handle_join_lines, | ||
30 | }, | 31 | }, |
31 | }; | 32 | }; |
32 | 33 | ||
@@ -145,6 +146,9 @@ fn on_request( | |||
145 | handle_request_on_threadpool::<req::ParentModule>( | 146 | handle_request_on_threadpool::<req::ParentModule>( |
146 | &mut req, pool, world, sender, handle_parent_module, | 147 | &mut req, pool, world, sender, handle_parent_module, |
147 | )?; | 148 | )?; |
149 | handle_request_on_threadpool::<req::JoinLines>( | ||
150 | &mut req, pool, world, sender, handle_join_lines, | ||
151 | )?; | ||
148 | dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| { | 152 | dispatch::handle_request::<req::ExecuteCommand, _>(&mut req, |params, resp| { |
149 | io.send(RawMsg::Response(resp.into_response(Ok(None))?)); | 153 | io.send(RawMsg::Response(resp.into_response(Ok(None))?)); |
150 | 154 | ||