       return
 
     unless @topOperation().isComplete()
-      if @mode is 'command' and @topOperation() instanceof operators.Operator
+      if @mode is 'command' and @topOperation() instanceof Operators.Operator
         @activateOperatorPendingMode()
       return
 

        @topOperation().compose(poppedOperation)
        @processOpStack()
      catch e
        (e instanceof operators.OperatorError) and @resetCommandMode() or throw e
    else
      @history.unshift(poppedOperation) if poppedOperation.isRecordable()
      poppedOperation.execute()

_ = require 'underscore-plus'
{$} = require 'atom'

Operators = require './operators'
Prefixes = require './prefixes'
Commands = require './commands'
Motions = require './motions'
TextObjects = require './text-objects'
Utils = require './utils'
Panes = require './panes'
Scroll = require './scroll'

module.exports =
class VimState
