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-dap/src/client.rs | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'helix-dap/src/client.rs') diff --git a/helix-dap/src/client.rs b/helix-dap/src/client.rs index 72aff5d2..62557951 100644 --- a/helix-dap/src/client.rs +++ b/helix-dap/src/client.rs @@ -3,9 +3,10 @@ use crate::{ types::*, Error, Result, }; +use helix_core::syntax::DebuggerQuirks; + use anyhow::anyhow; pub use log::{error, info}; -use serde::{Deserialize, Serialize}; use std::{ collections::HashMap, net::{IpAddr, Ipv4Addr, SocketAddr}, @@ -21,13 +22,6 @@ use tokio::{ time, }; -// Different workarounds for adapters' differences -#[derive(Debug, Default, PartialEq, Clone, Serialize, Deserialize)] -pub struct DebuggerQuirks { - #[serde(default)] - pub absolute_paths: bool, -} - #[derive(Debug)] pub struct Client { id: usize, -- cgit v1.2.3-70-g09d2