aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Bulatov <[email protected]>2020-11-17 11:19:56 +0000
committerKirill Bulatov <[email protected]>2020-11-17 11:19:56 +0000
commit16f0b2fdde2fba8f45cc18a8de11b45751c0f923 (patch)
tree0b797306c964628ea802130231c5b314246a44ad
parentd4128beb3d8c647674ae43407d0ed6edd71ff420 (diff)
Actually enable eager completion
-rw-r--r--crates/rust-analyzer/src/handlers.rs2
1 files changed, 1 insertions, 1 deletions
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(
573 .flat_map(|item| to_proto::completion_item(&line_index, line_endings, item)) 573 .flat_map(|item| to_proto::completion_item(&line_index, line_endings, item))
574 .collect(); 574 .collect();
575 575
576 let completion_list = lsp_types::CompletionList { is_incomplete: false, items }; 576 let completion_list = lsp_types::CompletionList { is_incomplete: true, items };
577 Ok(Some(completion_list.into())) 577 Ok(Some(completion_list.into()))
578} 578}
579 579