   constructor: (@vimState) ->
     {@editor, @editorElement, @globalState} = @vimState
     @disposables = new CompositeDisposable
-    
     @markerLayer = @editor.addMarkerLayer()
+
     options =
       type: 'highlight'
       invalidate: 'inside'


  refresh: ->
    @clearMarkers()
    if matchScopes(@editorElement, settings.get('highlightSearchExcludeScopes'))
      return

    unless settings.get('highlightSearch')
      return

    if pattern = @globalState.get('highlightSearchPattern')
      for range in scanEditor(@editor, pattern)
        @markerLayer.markBufferRange(range)

    # Refresh highlight based on globalState.highlightSearchPattern changes.
    # -------------------------
    @disposables = @globalState.onDidChange ({name, newValue}) =>
      if name is 'highlightSearchPattern'
        @refresh()

  destroy: ->
    @decorationLayer.destroy()
