diff options
author | Dmitry Sharshakov | 2021-08-22 08:56:22 +0000 |
---|---|---|
committer | Dmitry Sharshakov | 2021-08-22 08:56:22 +0000 |
commit | 132198323ca8af409ecac56e14f8029c9d252621 (patch) | |
tree | 92b6cec5034d9a02ff21b01efd57c750b680850b /helix-term/src/commands.rs | |
parent | be9dc5802a8e2d6d26d6f9c00475aedafef97c61 (diff) |
editor: go to pos where stack pointer is located
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r-- | helix-term/src/commands.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs index cc45f79a..d405de16 100644 --- a/helix-term/src/commands.rs +++ b/helix-term/src/commands.rs @@ -98,13 +98,13 @@ impl<'a> Context<'a> { } } -enum Align { +pub enum Align { Top, Center, Bottom, } -fn align_view(doc: &Document, view: &mut View, align: Align) { +pub fn align_view(doc: &Document, view: &mut View, align: Align) { let pos = doc .selection(view.id) .primary() |