summaryrefslogtreecommitdiff
path: root/helix-core/src
diff options
context:
space:
mode:
authorDmitry Sharshakov2021-08-23 13:48:06 +0000
committerDmitry Sharshakov2021-08-23 13:48:06 +0000
commitc5b210df59983a2caa9c389e5cd22aa670fb4a00 (patch)
tree0db7e64a51a34e7bad746d59d0b610c34820b335 /helix-core/src
parentdabec2d7993b23d08f03b52dc08176d437a110a9 (diff)
Add debug-adapter field to languages.toml
Diffstat (limited to 'helix-core/src')
-rw-r--r--helix-core/src/syntax.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/helix-core/src/syntax.rs b/helix-core/src/syntax.rs
index 4bceb73b..f3272cff 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::DebugAdapterConfig;
pub use helix_syntax::get_language;
use arc_swap::ArcSwap;
@@ -55,6 +56,8 @@ pub struct LanguageConfiguration {
#[serde(skip)]
pub(crate) indent_query: OnceCell<Option<IndentQuery>>,
+ #[serde(skip_serializing_if = "Option::is_none")]
+ pub debug_adapter: Option<DebugAdapterConfig>,
}
#[derive(Debug, Serialize, Deserialize)]