From 14a3502cf132b93b47b12cf14c685f0b694893c6 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Sun, 17 Oct 2021 15:14:16 +0900 Subject: dap: Move template selection into a picker It's time to move all these components out of ui/editor.rs --- helix-view/src/editor.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'helix-view/src') 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, pub debugger_events: SelectAll>, pub breakpoints: HashMap>, - pub debug_config_picker: Option>, - pub debug_config_completions: Option>>, + pub debug_config_completions: Vec, pub variables: Option>, 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, -- cgit v1.2.3-70-g09d2