|
|
@ -5,7 +5,6 @@ use crate::{
|
|
|
|
Rope, RopeSlice, Tendril,
|
|
|
|
Rope, RopeSlice, Tendril,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
use helix_dap::DebuggerQuirks;
|
|
|
|
|
|
|
|
pub use helix_syntax::get_language;
|
|
|
|
pub use helix_syntax::get_language;
|
|
|
|
|
|
|
|
|
|
|
|
use arc_swap::ArcSwap;
|
|
|
|
use arc_swap::ArcSwap;
|
|
|
@ -129,6 +128,13 @@ pub struct DebugAdapterConfig {
|
|
|
|
pub quirks: DebuggerQuirks,
|
|
|
|
pub quirks: DebuggerQuirks,
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Different workarounds for adapters' differences
|
|
|
|
|
|
|
|
#[derive(Debug, Default, PartialEq, Clone, Serialize, Deserialize)]
|
|
|
|
|
|
|
|
pub struct DebuggerQuirks {
|
|
|
|
|
|
|
|
#[serde(default)]
|
|
|
|
|
|
|
|
pub absolute_paths: bool,
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#[derive(Debug, Serialize, Deserialize)]
|
|
|
|
#[derive(Debug, Serialize, Deserialize)]
|
|
|
|
#[serde(rename_all = "kebab-case")]
|
|
|
|
#[serde(rename_all = "kebab-case")]
|
|
|
|
pub struct IndentationConfiguration {
|
|
|
|
pub struct IndentationConfiguration {
|
|
|
|