mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-09-27 04:19:13 +00:00
Complete params
This commit is contained in:
parent
58480b9190
commit
4798a89a12
10 changed files with 328 additions and 239 deletions
|
@ -345,7 +345,8 @@ pub fn handle_completion(
|
|||
let items = items.into_iter()
|
||||
.map(|item| {
|
||||
let mut res = CompletionItem {
|
||||
label: item.name,
|
||||
label: item.label,
|
||||
filter_text: item.lookup,
|
||||
.. Default::default()
|
||||
};
|
||||
if let Some(snip) = item.snippet {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue