   toCompletion: (c, pre) ->
     if c.constructor is String
       c = text: c
-    if not c.prefix?
-      c.replacementPrefix = pre
+    c.replacementPrefix = c._prefix ? pre
     c
 
   processCompletions: (completions, prefix) ->

{debounce} = require 'underscore-plus'

{client} =   require '../connection'


  rawCompletions: ({editor, bufferPosition: {row, column}, activatedManually}) ->
    completions
      path: editor.getPath()
      mod: modules.current()
      line: editor.getTextInBufferRange [[row, 0], [row, Infinity]]
      column: column+1
