     charPosition += coords.column
 
   getSuggestions: (request) ->
+    @request = request
     completions = []
     @getCompletions(request.editor.getText(), @getPosition(request), completions)
 

    client.stdin.write(text)
    client.stdin.end()

    new Promise((resolve) ->
      reader.on("close", ->
        Promise.all(promises).then((-> resolve(completions)), resolve)
      )
    )

            type: if funcName then "function" else "snippet"

          if funcName
            comp.leftLabel = line.slice(0, line.indexOf(" "))

          completions.push(comp)

