aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main_loop.rs
diff options
context:
space:
mode:
authorEmil Lauridsen <[email protected]>2020-01-13 16:12:14 +0000
committerEmil Lauridsen <[email protected]>2020-01-13 16:12:14 +0000
commitdaca5a3711851db2a954646c6f7209be996144ff (patch)
tree774c9f908b0fcb431a420e808596d85d6a4ba875 /crates/ra_lsp_server/src/main_loop.rs
parent5621f90071f576a8989cd09f98eb0fc6c9b7a612 (diff)
Defer cargo check until after workspace load
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r--crates/ra_lsp_server/src/main_loop.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs
index 7a49cad86..844259796 100644
--- a/crates/ra_lsp_server/src/main_loop.rs
+++ b/crates/ra_lsp_server/src/main_loop.rs
@@ -416,6 +416,7 @@ fn loop_turn(
416 if world_state.feature_flags().get("notifications.workspace-loaded") { 416 if world_state.feature_flags().get("notifications.workspace-loaded") {
417 let msg = format!("workspace loaded, {} rust packages", n_packages); 417 let msg = format!("workspace loaded, {} rust packages", n_packages);
418 show_message(req::MessageType::Info, msg, &connection.sender); 418 show_message(req::MessageType::Info, msg, &connection.sender);
419 world_state.check_watcher.update();
419 } 420 }
420 } 421 }
421 422