From 83a816740268ec527bf2f908cf752cfcbedc81f9 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 17 Oct 2021 13:58:11 +0900 Subject: Invert core -> dap dependency --- helix-core/src/syntax.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'helix-core/src') diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs index 00c09ea2..822d3181 100644 --- a/helix-core/src/syntax.rs +++ b/helix-core/src/syntax.rs @@ -5,7 +5,6 @@ use crate::{ Rope, RopeSlice, Tendril, }; -use helix_dap::DebuggerQuirks; pub use helix_syntax::get_language; use arc_swap::ArcSwap; @@ -129,6 +128,13 @@ pub struct DebugAdapterConfig { 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)] #[serde(rename_all = "kebab-case")] pub struct IndentationConfiguration { -- cgit v1.2.3-70-g09d2