Merge #6565
6565: Prepare to recompute completions on every keystroke r=matklad a=matklad
bors r+
🤖
Co-authored-by: Aleksey Kladov <aleksey.kladov@gmail.com>
This commit is contained in:
commit
0a658c4a97
1 changed files with 2 additions and 1 deletions
|
@ -573,7 +573,8 @@ pub(crate) fn handle_completion(
|
|||
.flat_map(|item| to_proto::completion_item(&line_index, line_endings, item))
|
||||
.collect();
|
||||
|
||||
Ok(Some(items.into()))
|
||||
let completion_list = lsp_types::CompletionList { is_incomplete: false, items };
|
||||
Ok(Some(completion_list.into()))
|
||||
}
|
||||
|
||||
pub(crate) fn handle_folding_range(
|
||||
|
|
Loading…
Reference in a new issue