diff options
Diffstat (limited to 'crates/ra_lsp_server/src/main_loop.rs')
-rw-r--r-- | crates/ra_lsp_server/src/main_loop.rs | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/crates/ra_lsp_server/src/main_loop.rs b/crates/ra_lsp_server/src/main_loop.rs index 1f6175699..045e4660d 100644 --- a/crates/ra_lsp_server/src/main_loop.rs +++ b/crates/ra_lsp_server/src/main_loop.rs | |||
@@ -338,6 +338,14 @@ fn loop_turn( | |||
338 | task_sender.send(Task::Notify(not)).unwrap(); | 338 | task_sender.send(Task::Notify(not)).unwrap(); |
339 | } | 339 | } |
340 | } | 340 | } |
341 | CheckTask::Status(progress) => { | ||
342 | let params = req::ProgressParams { | ||
343 | token: req::ProgressToken::String("rustAnalyzer/cargoWatcher".to_string()), | ||
344 | value: req::ProgressParamsValue::WorkDone(progress), | ||
345 | }; | ||
346 | let not = notification_new::<req::Progress>(params); | ||
347 | task_sender.send(Task::Notify(not)).unwrap(); | ||
348 | } | ||
341 | }, | 349 | }, |
342 | Event::Msg(msg) => match msg { | 350 | Event::Msg(msg) => match msg { |
343 | Message::Request(req) => on_request( | 351 | Message::Request(req) => on_request( |