mirror of https://github.com/helix-editor/helix
Format
parent
774ab6f8b6
commit
0e779381a8
|
@ -225,9 +225,7 @@ impl Client {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn capabilities(&self) -> &DebuggerCapabilities {
|
pub fn capabilities(&self) -> &DebuggerCapabilities {
|
||||||
self.caps
|
self.caps.as_ref().expect("debugger not yet initialized!")
|
||||||
.as_ref()
|
|
||||||
.expect("debugger not yet initialized!")
|
|
||||||
}
|
}
|
||||||
|
|
||||||
pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {
|
pub async fn initialize(&mut self, adapter_id: String) -> Result<()> {
|
||||||
|
|
|
@ -7,7 +7,7 @@ use std::{collections::HashMap, path::PathBuf};
|
||||||
pub struct DebugTemplate {
|
pub struct DebugTemplate {
|
||||||
pub name: String,
|
pub name: String,
|
||||||
pub request: String,
|
pub request: String,
|
||||||
pub args: HashMap<String, Value>
|
pub args: HashMap<String, Value>,
|
||||||
}
|
}
|
||||||
|
|
||||||
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
|
#[derive(Debug, PartialEq, Clone, Deserialize, Serialize)]
|
||||||
|
|
Loading…
Reference in New Issue