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

  getPrefix: (editor, bufferPosition) ->
    @resetMatches()
    line = editor.getTextInRange([[bufferPosition.row, 0], bufferPosition])
    if line.match(endOfCommand) != 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]+$/
