summaryrefslogtreecommitdiff
path: root/src/normal.zig
diff options
context:
space:
mode:
Diffstat (limited to 'src/normal.zig')
-rw-r--r--src/normal.zig2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/normal.zig b/src/normal.zig
index 1209fb1e..96c61fba 100644
--- a/src/normal.zig
+++ b/src/normal.zig
@@ -827,7 +827,7 @@ fn executeNormalAction(p: *Pardes, t: *Text, a: modal.Normal.Action) void {
.increment => return edit.normalAdjustNumber(p, t, @intCast(a.count)),
.decrement => return edit.normalAdjustNumber(p, t, -@as(i64, @intCast(a.count))),
.leader => if (p.macro.replaying == 0) {
- p.leader_on = true;
+ p.prefix = .leader;
p.leader_n = 0;
},
// `:` is the one key a tag and a body do not share: it moves the