aboutsummaryrefslogtreecommitdiff
path: root/helix-core
diff options
context:
space:
mode:
Diffstat (limited to 'helix-core')
-rw-r--r--helix-core/Cargo.toml1
-rw-r--r--helix-core/src/syntax.rs8
2 files changed, 7 insertions, 2 deletions
diff --git a/helix-core/Cargo.toml b/helix-core/Cargo.toml
index 20ba47e9..51096453 100644
--- a/helix-core/Cargo.toml
+++ b/helix-core/Cargo.toml
@@ -14,7 +14,6 @@ include = ["src/**/*", "README.md"]
[dependencies]
helix-syntax = { version = "0.4", path = "../helix-syntax" }
-helix-dap = { version = "0.4", path = "../helix-dap" }
ropey = "1.3"
smallvec = "1.7"
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 {