aboutsummaryrefslogtreecommitdiff
path: root/helix-view
diff options
context:
space:
mode:
authorJoe2022-10-03 14:33:20 +0000
committerGitHub2022-10-03 14:33:20 +0000
commitbcba5d67f9b8650936c391f6c113945291941f51 (patch)
tree6bb230847afae685da97c50214f4515e91d0be50 /helix-view
parent18f6ec7a8eb9ff7d46d4ec1bba52f48364e9c9d7 (diff)
Add goto preview (#2982)
Diffstat (limited to 'helix-view')
-rw-r--r--helix-view/src/editor.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/helix-view/src/editor.rs b/helix-view/src/editor.rs
index 5eff9983..e804a864 100644
--- a/helix-view/src/editor.rs
+++ b/helix-view/src/editor.rs
@@ -643,7 +643,7 @@ pub struct Editor {
/// The currently applied editor theme. While previewing a theme, the previewed theme
/// is set here.
pub theme: Theme,
-
+ pub last_line_number: Option<usize>,
pub status_msg: Option<(Cow<'static, str>, Severity)>,
pub autoinfo: Option<Info>,
@@ -717,6 +717,7 @@ impl Editor {
syn_loader,
theme_loader,
last_theme: None,
+ last_line_number: None,
registers: Registers::default(),
clipboard_provider: get_clipboard_provider(),
status_msg: None,