aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-11-07 08:55:01 +0000
committerBlaž Hrastnik2021-11-07 08:55:01 +0000
commit64bb1f75639136868d762b79daa9cc659bf601d0 (patch)
tree9fa409f70f71374b7e4ae6528074a2d7abf07542 /helix-view/src
parente2a23ac0b50ad743fa43d0e0cf4492805119e3c8 (diff)
dap: Extract out variable rendering
Will improve on the UI later
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/editor.rs6
1 files changed, 1 insertions, 5 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 4efadaf6..ac234524 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -11,8 +11,8 @@ use futures_util::stream::select_all::SelectAll;
use tokio_stream::wrappers::UnboundedReceiverStream;
use std::{
- collections::HashMap,
collections::BTreeMap,
+ collections::HashMap,
path::{Path, PathBuf},
pin::Pin,
sync::Arc,
@@ -127,8 +127,6 @@ pub struct Editor {
pub debugger_events: SelectAll<UnboundedReceiverStream<dap::Payload>>,
pub breakpoints: HashMap<PathBuf, Vec<dap::SourceBreakpoint>>,
pub debug_config_completions: Vec<DebugConfigCompletion>,
- pub variables: Option<Vec<String>>,
- pub variables_page: usize,
pub clipboard_provider: Box<dyn ClipboardProvider>,
@@ -175,8 +173,6 @@ impl Editor {
debugger_events: SelectAll::new(),
breakpoints: HashMap::new(),
debug_config_completions: Vec::new(),
- variables: None,
- variables_page: 0,
syn_loader: config_loader,
theme_loader: themes,
registers: Registers::default(),