   # Get a RegExp of all the characters used in the snippet prefixes
   wordRegexForSnippets: (snippets) ->
     prefixes = {}
+
     for prefix of snippets
       prefixes[character] = true for character in prefix
     prefixCharacters = Object.keys(prefixes).join('')

        bodyTree ?= @getBodyParser().parse(body)
        snippet = new Snippet({name, prefix, bodyTree, bodyText: body})
        snippetsByPrefix[snippet.prefix] = snippet
      disposable.add atom.config.addScopedSettings(filePath, selector, snippets: snippetsByPrefix)
    disposable

  getBodyParser: ->
    @bodyParser ?= require './snippet-body-parser'

      callback(object)

  add: (filePath, snippetsBySelector) ->
    for selector, snippetsByName of snippetsBySelector
      snippetsByPrefix = {}
      for name, attributes of snippetsByName
