summaryrefslogtreecommitdiff
path: root/helix-core/src/syntax.rs
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-09-26 18:36:06 +0000
committerDmitry Sharshakov2021-09-26 18:36:06 +0000
commitd943a51e3e8e2cd77cc336c30eb954378e81fe31 (patch)
tree6a6cc9d6bc58669045806bf04fbe77b18aa58527 /helix-core/src/syntax.rs
parent0e51e5fbaf6eeffa25b8660b96f2486174671492 (diff)
editor: add Node.js debugger
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r--helix-core/src/syntax.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 75c2b179..996823ce 100644
--- a/helix-core/src/syntax.rs
+++ b/helix-core/src/syntax.rs
@@ -5,6 +5,7 @@ use crate::{
Rope, RopeSlice, Tendril,
};
+use helix_dap::DebuggerQuirks;
pub use helix_syntax::get_language;
use arc_swap::ArcSwap;
@@ -107,11 +108,14 @@ pub struct DebugTemplate {
pub struct DebugAdapterConfig {
pub name: String,
pub transport: String,
+ #[serde(default)]
pub command: String,
#[serde(default)]
pub args: Vec<String>,
pub port_arg: Option<String>,
pub templates: Vec<DebugTemplate>,
+ #[serde(default)]
+ pub quirks: DebuggerQuirks,
}
#[derive(Debug, Serialize, Deserialize)]