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.
This commit is contained in:
Ville Penttinen 2019-03-05 21:59:01 +02:00
parent ab288a32f9
commit 9063dabcca
3 changed files with 27 additions and 20 deletions

View file

@ -43,7 +43,7 @@ fn main_inner() -> Result<()> {
.and_then(|v| InitializationOptions::deserialize(v).ok())
.and_then(|it| it.publish_decorations)
== Some(true);
ra_lsp_server::main_loop(false, root, supports_decorations, r, s)
ra_lsp_server::main_loop(root, supports_decorations, r, s)
})?;
log::info!("shutting down IO...");
threads.join()?;