Skip to content

Commit

Permalink
Fixes #2735, don't reset 'recordedState.actionKeys' if there is a pot…
Browse files Browse the repository at this point in the history
…ential remap.
  • Loading branch information
regiontog committed Jun 15, 2018
1 parent 21659e7 commit f88f988
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mode/modeHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -350,9 +350,9 @@ export class ModeHandler implements vscode.Disposable {
case KeypressState.NoPossibleMatch:
if (!this._remappers.isPotentialRemap) {
vimState.recordedState = new RecordedState();
return vimState;
}
break;

return vimState;
case KeypressState.WaitingOnKeys:
return vimState;
}
Expand Down

0 comments on commit f88f988

Please sign in to comment.