Skip to content

Commit

Permalink
Fixed linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Chillee committed May 20, 2017
1 parent 41498b7 commit 2644c78
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/actions/commands/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3038,7 +3038,8 @@ class ActionOverrideCmdD extends BaseCommand {

public async exec(position: Position, vimState: VimState): Promise<VimState> {
if (!Configuration.disableAnnoyingGcComment) {
vscode.window.showErrorMessage("gc is now commentOperator. gb is now 'add new cursor'. Disable this annoying message with vim.disableAnnoyingGcComment");
vscode.window.showErrorMessage("gc is now commentOperator. gb is now 'add new cursor'.\
Disable this annoying message with vim.disableAnnoyingGcComment");
}
await vscode.commands.executeCommand('editor.action.addSelectionToNextFindMatch');
vimState.allCursors = await allowVSCodeToPropagateCursorUpdatesAndReturnThem();
Expand Down
3 changes: 2 additions & 1 deletion src/actions/operator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,8 @@ export class CommentOperator extends BaseOperator {

public async run(vimState: VimState, start: Position, end: Position): Promise<VimState> {
if (!Configuration.disableAnnoyingGcComment) {
vscode.window.showErrorMessage("gc is now commentOperator. gb is now 'add new cursor'. Disable this annoying message with vim.disableAnnoyingGcComment");
vscode.window.showErrorMessage("gc is now commentOperator. gb is now 'add new cursor'\
Disable this annoying message with vim.disableAnnoyingGcComment");
}
vimState.editor.selection = new vscode.Selection(start.getLineBegin(), end.getLineEnd());
await vscode.commands.executeCommand("editor.action.commentLine");
Expand Down

0 comments on commit 2644c78

Please sign in to comment.