         crange2=crange
       symbol = buffer.getTextInRange(crange2)
       command = ["info",path,"",symbol]
-      @queueCmd @runCmd, @getRootDir(buffer), command, (lines) ->
+      @queueCmd 'typeinfo', @runCmd, @getRootDir(buffer), command, (lines) ->
         close()
         text = lines
           .map (line) ->

      cpos = crange.start
      command = ["type",path,"",cpos.row+1,cpos.column+1]

      @queueCmd @runCmd, @getRootDir(buffer), command, (lines) ->
        close()
        [range,type]=lines.reduce ((acc,line) ->
          return acc if acc!=''

module.exports =
class GhcModiProcess
  processMap: null
  commandQueues:
    checklint:
      running: false
      queue: []
    completion:
      running: false
      queue: []
    typeinfo:
      running: false
      queue: []

  constructor: ->
    @processMap = new WeakMap
