From d88d9be1ecb38eecf1a2a06bcb1c6fd102e1cce4 Mon Sep 17 00:00:00 2001 From: johnfn Date: Tue, 9 Aug 2016 02:53:34 -0700 Subject: [PATCH] Make tslint happy. --- src/actions/actions.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/actions/actions.ts b/src/actions/actions.ts index a86a69929f32..27e988935d9f 100644 --- a/src/actions/actions.ts +++ b/src/actions/actions.ts @@ -813,7 +813,8 @@ export class DeleteOperator extends BaseOperator { /** * Deletes from the position of start to 1 past the position of end. */ - public async delete(start: Position, end: Position, currentMode: ModeName, registerMode: RegisterMode, vimState: VimState, yank = true): Promise { + public async delete(start: Position, end: Position, currentMode: ModeName, + registerMode: RegisterMode, vimState: VimState, yank = true): Promise { if (registerMode === RegisterMode.LineWise) { start = start.getLineBegin(); end = end.getLineEnd(); @@ -2611,7 +2612,8 @@ class ActionChangeToEOLInVisualBlockMode extends BaseCommand { for (const { start } of Position.IterateLine(vimState)) { // delete from start up to but not including the newline. - await deleteOperator.delete(start, start.getLineEnd().getLeft(), vimState.currentMode, vimState.effectiveRegisterMode(), vimState, true); + await deleteOperator.delete( + start, start.getLineEnd().getLeft(), vimState.currentMode, vimState.effectiveRegisterMode(), vimState, true); } vimState.currentMode = ModeName.VisualBlockInsertMode; @@ -2640,7 +2642,6 @@ class ActionGoToInsertVisualBlockModeAppend extends BaseCommand { } } - @RegisterAction export class YankVisualBlockMode extends BaseOperator { public keys = ["y"];