     @disposables = new CompositeDisposable
     @emitter = new Emitter
     @autoPreview = @provider.getConfig('autoPreview')
-    @autoPreviewOnQueryChange =  @provider.getConfig('autoPreviewOnQueryChange')
+    @autoPreviewOnQueryChange = @provider.getConfig('autoPreviewOnQueryChange')
 
     # Special item used to translate narrow editor row to items without pain
     @promptItem = Object.freeze({_prompt: true, skip: true})

          @setPrompt(@lastNarrowQuery)
        else
          @refresh().then =>
            @preview() if @isActive() and @autoPreviewOnQueryChange

  withIgnoreCursorMove: (fn) ->
    @ignoreCursorMove = true

    @grammar = new Grammar(@editor, includeHeaderRules: @provider.includeHeaderGrammar)
    @disposables.add(@registerCommands())
    @disposables.add(@observeChange())
    @disposables.add(@observeStopChanging())
    @disposables.add(@observeCursorMove())

    @disposables.add atom.workspace.onDidStopChangingActivePaneItem (item) =>
