aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src
diff options
context:
space:
mode:
authorZheming Li2021-06-08 03:24:27 +0000
committerBlaž Hrastnik2021-06-08 08:27:21 +0000
commitae51065213c4dfc0072c9dfe384527faf34b54ff (patch)
treea72b1dabcfbe05636ac85dafd87043c902f46580 /helix-view/src
parent4e3a3436025b7ae2677855de307f6016cb946509 (diff)
Support go to line 1
Diffstat (limited to 'helix-view/src')
-rw-r--r--helix-view/src/editor.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 7af19a9b..3e91921b 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -12,7 +12,7 @@ pub use helix_core::diagnostic::Severity;
pub struct Editor {
pub tree: Tree,
pub documents: SlotMap<DocumentId, Document>,
- pub count: Option<usize>,
+ pub count: Option<std::num::NonZeroUsize>,
pub register: RegisterSelection,
pub theme: Theme,
pub language_servers: helix_lsp::Registry,