Skip to content

Commit

Permalink
fix(2264): regression with goto line not working. update view followi…
Browse files Browse the repository at this point in the history
…ng command line run
  • Loading branch information
jpoon committed Jan 5, 2018
1 parent c6aa3e5 commit 7bcfa94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ export async function activate(context: vscode.ExtensionContext) {
let modeHandler =
modeHandlerToEditorIdentity[new EditorIdentity(vscode.window.activeTextEditor).toString()];
CommandLine.PromptAndRun('', modeHandler.vimState);
modeHandler.updateView(modeHandler.vimState);
});

interface ICodeKeybinding {
Expand Down
1 change: 1 addition & 0 deletions src/mode/modeHandler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -918,6 +918,7 @@ export class ModeHandler implements vscode.Disposable {

case 'showCommandLine':
await CommandLine.PromptAndRun(vimState.commandInitialText, this.vimState);
this.updateView(this.vimState);
break;

case 'dot':
Expand Down

0 comments on commit 7bcfa94

Please sign in to comment.