aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-02-09 07:39:17 +0000
committerBlaž Hrastnik2021-02-09 07:39:17 +0000
commitde5170dcdae4b1bd54ff3e1f33995827534bdfde (patch)
tree7d9d6f8e314e245a4209777c0470441904b78753 /helix-view/src
parent5e73f83efa406a6989fff6077b90dd77a7328b36 (diff)
Parse input counts: 10w, etc.
Diffstat (limited to 'helix-view/src')
-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,
}