Skip to content

Commit

Permalink
Merge pull request #2871 from VSCodeVim/whichwrap
Browse files Browse the repository at this point in the history
fix: add missing wrapkeys to test configuration
  • Loading branch information
jpoon authored Jul 24, 2018
2 parents 9cff13d + b4b2c07 commit 541b611
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd_line/commandLine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ class CommandLine {
await cmd.execute(vimState.editor, vimState);
}
} catch (e) {
logger.error(`commandLine : error executing cmd=${command}. err=${e}.`);
if (e instanceof VimError) {
if (e.code === ErrorCode.E492 && configuration.enableNeovim) {
await vimState.nvim.run(vimState, command);
Expand All @@ -73,6 +72,7 @@ class CommandLine {
);
}
} else {
logger.error(`commandLine : error executing cmd=${command}. err=${e}.`);
Message.ShowError(e.toString());
}
}
Expand Down
1 change: 1 addition & 0 deletions test/testConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,5 @@ export class Configuration implements IConfiguration {
visualModeKeyBindings: IKeyRemapping[] = [];
visualModeKeyBindingsNonRecursive: IKeyRemapping[] = [];
whichwrap = '';
wrapKeys = {};
}

0 comments on commit 541b611

Please sign in to comment.