From 16f0b2fdde2fba8f45cc18a8de11b45751c0f923 Mon Sep 17 00:00:00 2001 From: Kirill Bulatov Date: Tue, 17 Nov 2020 13:19:56 +0200 Subject: Actually enable eager completion --- crates/rust-analyzer/src/handlers.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/rust-analyzer/src/handlers.rs b/crates/rust-analyzer/src/handlers.rs index 4d1ebf6bf..c27fd87d7 100644 --- a/crates/rust-analyzer/src/handlers.rs +++ b/crates/rust-analyzer/src/handlers.rs @@ -573,7 +573,7 @@ pub(crate) fn handle_completion( .flat_map(|item| to_proto::completion_item(&line_index, line_endings, item)) .collect(); - let completion_list = lsp_types::CompletionList { is_incomplete: false, items }; + let completion_list = lsp_types::CompletionList { is_incomplete: true, items }; Ok(Some(completion_list.into())) } -- cgit v1.2.3