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

Commit 3868c90

Browse files
committed
fix copy&paste oversight
1 parent 89923f5 commit 3868c90

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/vim-state.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ class VimState
386386
cursor.moveLeft() unless cursor.isAtBeginningOfLine()
387387

388388
interruptInsertMode: ->
389-
return unless @mode in [null, 'insert']
389+
return unless @mode is 'insert'
390390
@editor.groupChangesSinceCheckpoint(@insertionCheckpoint)
391391
@insertionCheckpoint = null
392392
transaction = _.last(@editor.buffer.history.undoStack)

0 commit comments

Comments
 (0)