|
|
@ -4,6 +4,7 @@ use helix_core::Selection;
|
|
|
|
use helix_dap::{self as dap, Client, Payload, Request, ThreadId};
|
|
|
|
use helix_dap::{self as dap, Client, Payload, Request, ThreadId};
|
|
|
|
use helix_lsp::block_on;
|
|
|
|
use helix_lsp::block_on;
|
|
|
|
use log::warn;
|
|
|
|
use log::warn;
|
|
|
|
|
|
|
|
use std::fmt::Write;
|
|
|
|
use std::io::ErrorKind;
|
|
|
|
use std::io::ErrorKind;
|
|
|
|
use std::path::PathBuf;
|
|
|
|
use std::path::PathBuf;
|
|
|
|
|
|
|
|
|
|
|
@ -180,10 +181,10 @@ impl Editor {
|
|
|
|
|
|
|
|
|
|
|
|
let mut status = format!("{} stopped because of {}", scope, reason);
|
|
|
|
let mut status = format!("{} stopped because of {}", scope, reason);
|
|
|
|
if let Some(desc) = description {
|
|
|
|
if let Some(desc) = description {
|
|
|
|
status.push_str(&format!(" {}", desc));
|
|
|
|
write!(status, " {}", desc).unwrap();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if let Some(text) = text {
|
|
|
|
if let Some(text) = text {
|
|
|
|
status.push_str(&format!(" {}", text));
|
|
|
|
write!(status, " {}", text).unwrap();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
if all_threads_stopped {
|
|
|
|
if all_threads_stopped {
|
|
|
|
status.push_str(" (all threads stopped)");
|
|
|
|
status.push_str(" (all threads stopped)");
|
|
|
|