aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/editor.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 6b5b285d..762b9e96 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -10,6 +10,7 @@ pub struct Editor {
pub tree: Tree,
// pub documents: Vec<Document>,
pub should_close: bool,
+ pub count: Option<usize>,
pub theme: Theme, // TODO: share one instance
pub language_servers: helix_lsp::Registry,
}
@@ -25,6 +26,7 @@ impl Editor {
Self {
tree: Tree::new(area),
should_close: false,
+ count: None,
theme,
language_servers,
}