     super
     @addClass('overlay from-top available-snippets')
     @command 'snippets:available', => @toggle()
+
+  # Public: Filter the fuzzy-search for the prefix.
+  #
+  # Returns: {String}
+  getFilterKey: -> 'prefix'
 
   toggle: ->
     if @hasParent()

      @attach()

  populate: ->
    snippets = _.values(@snippets.getSnippets(@editor()))
    @setItems(snippets)

  attach: ->

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

module.exports =
class SnippetsAvailable extends SelectListView
  # Public: Initialize object.
  #
  # Returns: `undefined`
