Skip to content
This repository was archived by the owner on Apr 6, 2018. It is now read-only.

Commit d4efc7d

Browse files
committed
remove unnecessary check
1 parent 6a58be2 commit d4efc7d

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

lib/vim-state.coffee

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,6 @@ class VimState
661661

662662
# Private: ensure the cursor stays within the line as appropriate
663663
ensureCursorsWithinLine: =>
664-
return if @mode isnt 'normal'
665-
666664
for cursor in @editor.getCursors()
667665
{goalColumn} = cursor
668666
if cursor.isAtEndOfLine() and not cursor.isAtBeginningOfLine()

0 commit comments

Comments
 (0)