diff options
author | Dmitry Sharshakov | 2021-09-26 18:36:06 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-09-26 18:36:06 +0000 |
commit | d943a51e3e8e2cd77cc336c30eb954378e81fe31 (patch) | |
tree | 6a6cc9d6bc58669045806bf04fbe77b18aa58527 /helix-core/src/syntax.rs | |
parent | 0e51e5fbaf6eeffa25b8660b96f2486174671492 (diff) |
editor: add Node.js debugger
Diffstat (limited to 'helix-core/src/syntax.rs')
-rw-r--r-- | helix-core/src/syntax.rs | 4 |
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)] |