aboutsummaryrefslogtreecommitdiff
path: root/helix-view/src/view.rs
diff options
context:
space:
mode:
authorRobin2022-07-22 01:23:00 +0000
committerGitHub2022-07-22 01:23:00 +0000
commit19b7864062462e56545cfcca8402659573524f60 (patch)
tree27f799efac383ad2e20d845b2dce1825aa34c0b2 /helix-view/src/view.rs
parent2f53644c6d7d70b680a5d734c8732e5f367aacf3 (diff)
keep jump/file history when using :split (#3031)
* keep jump/file history when using :split * move history cloning into the switch function Co-authored-by: Robin <robinvandijk@klippa.com>
Diffstat (limited to 'helix-view/src/view.rs')
-rw-r--r--helix-view/src/view.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-view/src/view.rs b/helix-view/src/view.rs
index e74e0f65..e7fc16ab 100644
--- a/helix-view/src/view.rs
+++ b/helix-view/src/view.rs
@@ -64,6 +64,7 @@ impl JumpList {
}
}
+#[derive(Clone)]
pub struct View {
pub id: ViewId,
pub offset: Position,