From d943a51e3e8e2cd77cc336c30eb954378e81fe31 Mon Sep 17 00:00:00 2001 From: Dmitry Sharshakov Date: Sun, 26 Sep 2021 21:36:06 +0300 Subject: editor: add Node.js debugger --- helix-core/src/syntax.rs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'helix-core/src/syntax.rs') 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, pub port_arg: Option, pub templates: Vec, + #[serde(default)] + pub quirks: DebuggerQuirks, } #[derive(Debug, Serialize, Deserialize)] -- cgit v1.2.3-70-g09d2