Skip to content

Commit

Permalink
Minor fixes. Add *.log to gitignore and fix tslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jpoon committed Aug 5, 2016
1 parent 7b3eff9 commit e7fb5b5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
.vscode-test
.DS_Store
*.vsix
*.log
2 changes: 1 addition & 1 deletion src/actions/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1374,7 +1374,7 @@ class CommandClearLine extends BaseCommand {

public async execCount(position: Position, vimState: VimState): Promise<VimState> {
let count = this.canBePrefixedWithCount ? vimState.recordedState.count || 1 : 1;
let end = position.getDownByCount(Math.max(0, count - 1)).getLineEnd().getLeft()
let end = position.getDownByCount(Math.max(0, count - 1)).getLineEnd().getLeft();
return new ChangeOperator().run(vimState, position.getLineBegin(), end);
}
}
Expand Down

0 comments on commit e7fb5b5

Please sign in to comment.