mirror of
https://github.com/rust-lang/rust-analyzer.git
synced 2025-10-01 06:11:35 +00:00
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:
parent
ab288a32f9
commit
9063dabcca
3 changed files with 27 additions and 20 deletions
|
@ -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()?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue