aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vis.c b/vis.c
index b67e660..f3864d1 100644
--- a/vis.c
+++ b/vis.c
@@ -1660,7 +1660,7 @@ bool vis_cmd(Vis *vis, const char *cmdline) {
}
void vis_file_snapshot(Vis *vis, File *file) {
- if (!vis->replaying)
+ if (!vis->replaying && !vis->repeat_input)
text_snapshot(file->text);
}