Skip to content

Commit

Permalink
Fixed #1803
Browse files Browse the repository at this point in the history
  • Loading branch information
Chillee committed Jun 8, 2017
1 parent 98e3285 commit 7d8d117
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/actions/commands/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1521,7 +1521,7 @@ class CommandCloseFold extends CommandFold {
public async exec(position: Position, vimState: VimState): Promise<VimState> {
let timesToRepeat = vimState.recordedState.count || 1;
await vscode.commands.executeCommand("editor.fold", {levels: timesToRepeat, direction: "up"});

vimState.allCursors = await allowVSCodeToPropagateCursorUpdatesAndReturnThem();
return vimState;
}
}
Expand Down
4 changes: 2 additions & 2 deletions src/actions/motion.ts
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,7 @@ export class MarkMovement extends BaseMovement {


@RegisterAction
class MoveLeft extends BaseMovement {
export class MoveLeft extends BaseMovement {
keys = ["h"];

public async execAction(position: Position, vimState: VimState): Promise<Position> {
Expand Down Expand Up @@ -790,7 +790,7 @@ class MoveScreenLineCenter extends MoveByScreenLine {
}

@RegisterAction
class MoveUpByScreenLine extends MoveByScreenLine {
export class MoveUpByScreenLine extends MoveByScreenLine {
modes = [ModeName.Insert, ModeName.Normal, ModeName.Visual];
keys = [["g", "k"],
["g", "<up>"]];
Expand Down

0 comments on commit 7d8d117

Please sign in to comment.