diff options
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 1e65041e2..5213ecc04 100644 --- a/crates/server/src/main_loop/mod.rs +++ b/crates/server/src/main_loop/mod.rs | |||
@@ -28,6 +28,7 @@ use { | |||
28 | handle_find_matching_brace, | 28 | handle_find_matching_brace, |
29 | handle_parent_module, | 29 | handle_parent_module, |
30 | handle_join_lines, | 30 | handle_join_lines, |
31 | handle_completion, | ||
31 | }, | 32 | }, |
32 | }; | 33 | }; |
33 | 34 | ||
@@ -143,6 +144,9 @@ fn on_request( | |||
143 | handle_request_on_threadpool::<req::GotoDefinition>( | 144 | handle_request_on_threadpool::<req::GotoDefinition>( |
144 | &mut req, pool, world, sender, handle_goto_definition, | 145 | &mut req, pool, world, sender, handle_goto_definition, |
145 | )?; | 146 | )?; |
147 | handle_request_on_threadpool::<req::Completion>( | ||
148 | &mut req, pool, world, sender, handle_completion, | ||
149 | )?; | ||
146 | handle_request_on_threadpool::<req::ParentModule>( | 150 | handle_request_on_threadpool::<req::ParentModule>( |
147 | &mut req, pool, world, sender, handle_parent_module, | 151 | &mut req, pool, world, sender, handle_parent_module, |
148 | )?; | 152 | )?; |