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:
bors[bot] 2020-11-16 16:28:43 +00:00 committed by GitHub
commit 0a658c4a97
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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(