Simple scope completion

This commit is contained in:
Aleksey Kladov 2018-08-26 12:51:45 +03:00
parent ac226021cf
commit 71722c047f
5 changed files with 34 additions and 2 deletions

View file

@ -28,6 +28,7 @@ use {
handle_find_matching_brace,
handle_parent_module,
handle_join_lines,
handle_completion,
},
};
@ -143,6 +144,9 @@ fn on_request(
handle_request_on_threadpool::<req::GotoDefinition>(
&mut req, pool, world, sender, handle_goto_definition,
)?;
handle_request_on_threadpool::<req::Completion>(
&mut req, pool, world, sender, handle_completion,
)?;
handle_request_on_threadpool::<req::ParentModule>(
&mut req, pool, world, sender, handle_parent_module,
)?;