mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-03 15:15:24 +00:00
Simple scope completion
This commit is contained in:
parent
ac226021cf
commit
71722c047f
5 changed files with 34 additions and 2 deletions
|
@ -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,
|
||||
)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue