 
   createSuggestionForFunction = (serverSuggestion, name, kind, signature, mod, desc, spec, prefix, pipeBefore, captureBefore) ->
     args = signature.split(',')
-    [func, arity] = name.split('/')
+    [_, func, arity] = name.match(/(.+)\/(\d+)/)
     [moduleParts..., postfix] = prefix.split('.')
 
     params = []

      "http://elixir-lang.org/docs/v#{ELIXIR_VERSION}/elixir/#{module}.html\##{func}/#{arity}"

  sortSuggestions = (suggestions) ->
    sort_kind = (a, b) ->
      priority =
        exception: 0 # unknown
        property:  0 # module attribute

    description = markdownToHTML(description)

    {
      func: func
      arity: arity
      snippet: snippet
      displayText: displayText
      type: type
