diff options
author | Blaž Hrastnik | 2021-08-19 02:24:53 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-08-20 04:51:38 +0000 |
commit | 94a1951d40d26f4f535bdb5aab5668c84fdd95ae (patch) | |
tree | f0cfbfca98cbddbb3388f935671eaee00343b53a /helix-view/src/editor.rs | |
parent | 8759dc7e3389a6215f6a28e3e89e4a4912aca3c4 (diff) |
Work towards a breakpoint UI
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r-- | helix-view/src/editor.rs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs index 7b9f34fc..1fae59be 100644 --- a/helix-view/src/editor.rs +++ b/helix-view/src/editor.rs @@ -73,7 +73,10 @@ pub struct Editor { pub registers: Registers, pub theme: Theme, pub language_servers: helix_lsp::Registry, - pub debuggers: SelectAll<UnboundedReceiverStream<(usize, helix_dap::Payload)>>, + + pub debugger: Option<helix_dap::Client>, + pub debuggers: SelectAll<UnboundedReceiverStream<helix_dap::Payload>>, + pub clipboard_provider: Box<dyn ClipboardProvider>, pub syn_loader: Arc<syntax::Loader>, @@ -111,6 +114,7 @@ impl Editor { selected_register: RegisterSelection::default(), theme: themes.default(), language_servers, + debugger: None, debuggers: SelectAll::new(), syn_loader: config_loader, theme_loader: themes, |