diff options
author | Zheming Li | 2021-06-08 03:24:27 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2021-06-08 08:27:21 +0000 |
commit | ae51065213c4dfc0072c9dfe384527faf34b54ff (patch) | |
tree | a72b1dabcfbe05636ac85dafd87043c902f46580 /helix-view/src | |
parent | 4e3a3436025b7ae2677855de307f6016cb946509 (diff) |
Support go to line 1
Diffstat (limited to 'helix-view/src')
-rw-r--r-- | helix-view/src/editor.rs | 2 |
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, |