       .then (packages=[]) =>
         @highlightExactMatch(@resultsContainer, query, packages)
       .then (packages=[]) =>
+        @addCloseMatches(@resultsContainer, query, packages)
+      .then (packages=[]) =>
         @addPackageViews(@resultsContainer, packages)
       .catch (error) =>
         @searchMessage.hide()


    packages

  addPackageViews: (container, packages) ->
    for pack, index in packages
      packageCard = @getPackageCardView(pack)
      @addPackageCardView(container, packageCard)


      null

  performSearch: ->
    if query = @searchEditorView.getText().trim().toLowerCase()
      @performSearchForQuery(query)

  performSearchForQuery: (query) ->
