Unnamed repository; edit this file 'description' to name the repository.
Diffstat (limited to 'helix-term/src/commands.rs')
-rw-r--r--helix-term/src/commands.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/helix-term/src/commands.rs b/helix-term/src/commands.rs
index 097c3493..d205f234 100644
--- a/helix-term/src/commands.rs
+++ b/helix-term/src/commands.rs
@@ -1711,6 +1711,7 @@ pub fn scroll(cx: &mut Context, offset: usize, direction: Direction, sync_cursor
&mut annotations,
)
});
+ drop(annotations);
doc.set_selection(view.id, selection);
return;
}