   getPrefix: (editor, bufferPosition) ->
     @resetMatches()
     line = editor.getTextInRange([[bufferPosition.row, 0], bufferPosition])
-    if line.match(endOfCommand) != null
+    spl = line.split(' ')
+    line = spl[spl.length - 1]
+
+    if line.match(endOfCommand) != null and line.match(/^\//) != null
       @isCommand = true
       line.match(endOfCommand)[0].split('/')[1]
     else if line.match(unit) != null

fs = require 'fs'
path = require 'path'
endOfCommand = /\/$|\/[a-zA-Z0-9]+$/
wholeCommand = /^\/[a-zA-Z0-9\/]*$/
unit = /\ [a-zA-Z0-9]+$/

          desc = thisLevel[value]['guidance']
          type = 'function'
          if desc == undefined
            type = 'class'
            desc = ''
        catch error
          desc = ''
          type = 'class'
