Skip to content

Commit a4786ba

Browse files
authored
Fixes #9808. Prevent saving empty RecordedState when no previous full action (#9809)
1 parent a9fd6f5 commit a4786ba

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/actions/commands/actions.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -556,6 +556,9 @@ class CommandDot extends BaseCommand {
556556
count,
557557
recordedState: globalState.previousFullAction,
558558
});
559+
} else {
560+
// No previous action to repeat, so mark this as non-repeatable
561+
vimState.lastCommandDotRepeatable = false;
559562
}
560563
}
561564
}

0 commit comments

Comments
 (0)