aboutsummaryrefslogtreecommitdiff
path: root/crates/ra_lsp_server/src/main.rs
diff options
context:
space:
mode:
authorVille Penttinen <[email protected]>2019-03-05 19:59:01 +0000
committerVille Penttinen <[email protected]>2019-03-05 19:59:01 +0000
commit9063dabcca0aaaa6d8bb3364cee21fd68023a059 (patch)
treeea85c8abd5ba57f0120556987a1c8cc5c6eae19d /crates/ra_lsp_server/src/main.rs
parentab288a32f9a95e3ca5e9e42f9c6f59bb3849f26e (diff)
Send an actual ShowMessage instead of InternalFeedback in feedback()
This now allows us to send a notification that can be shown in the UI when the workspace has been loaded. Additionally this removes the need for internal_mode flag.
Diffstat (limited to 'crates/ra_lsp_server/src/main.rs')
-rw-r--r--crates/ra_lsp_server/src/main.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/crates/ra_lsp_server/src/main.rs b/crates/ra_lsp_server/src/main.rs
index 03f83c7be..9dc2e3f87 100644
--- a/crates/ra_lsp_server/src/main.rs
+++ b/crates/ra_lsp_server/src/main.rs
@@ -43,7 +43,7 @@ fn main_inner() -> Result<()> {
43 .and_then(|v| InitializationOptions::deserialize(v).ok()) 43 .and_then(|v| InitializationOptions::deserialize(v).ok())
44 .and_then(|it| it.publish_decorations) 44 .and_then(|it| it.publish_decorations)
45 == Some(true); 45 == Some(true);
46 ra_lsp_server::main_loop(false, root, supports_decorations, r, s) 46 ra_lsp_server::main_loop(root, supports_decorations, r, s)
47 })?; 47 })?;
48 log::info!("shutting down IO..."); 48 log::info!("shutting down IO...");
49 threads.join()?; 49 threads.join()?;