       decorations.push(decoration)
   decorations
 
-setConfig = (name, value) ->
-  atom.config.set("quick-highlight.#{name}", value)
-
 ensureDecorations = (editor, options) ->
   decorations = getDecorations(editor)
   groupedDecoration = _.groupBy decorations, (decoration) ->

        waitsFor -> main.statusBarManager.tile?

        runs ->
          container = workspaceElement.querySelector('#status-bar-quick-highlight')
          span = container.querySelector('span')

      it 'display latest highlighted count on statusbar', ->


    describe "highlightSelectionDelay", ->
      beforeEach ->
        atom.config.set('quick-highlight.highlightSelectionDelay', 300)

      it "highlight selection after specified delay", ->
        dispatchCommand('editor:select-word')
