aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/editor.rs
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-10-17 06:14:16 +0000
committerBlaž Hrastnik2021-11-06 15:28:57 +0000
commit14a3502cf132b93b47b12cf14c685f0b694893c6 (patch)
tree69a2ad2bbf6f6cf038885d2945a811587cd29b9c /helix-view/src/editor.rs
parentf2b709a3c3a9cc036bfea46734efd7e4100eb34b (diff)
dap: Move template selection into a picker
It's time to move all these components out of ui/editor.rs
Diffstat (limited to 'helix-view/src/editor.rs')
-rw-r--r--helix-view/src/editor.rs6
1 files changed, 2 insertions, 4 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 591e0492..4efadaf6 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -126,8 +126,7 @@ pub struct Editor {
pub debugger: Option<dap::Client>,
pub debugger_events: SelectAll<UnboundedReceiverStream<dap::Payload>>,
pub breakpoints: HashMap<PathBuf, Vec<dap::SourceBreakpoint>>,
- pub debug_config_picker: Option<Vec<String>>,
- pub debug_config_completions: Option<Vec<Vec<DebugConfigCompletion>>>,
+ pub debug_config_completions: Vec<DebugConfigCompletion>,
pub variables: Option<Vec<String>>,
pub variables_page: usize,
@@ -175,8 +174,7 @@ impl Editor {
debugger: None,
debugger_events: SelectAll::new(),
breakpoints: HashMap::new(),
- debug_config_picker: None,
- debug_config_completions: None,
+ debug_config_completions: Vec::new(),
variables: None,
variables_page: 0,
syn_loader: config_loader,