         targetFilePath = outputs[0]
         if targetFilePath == @editor.getPath()
           @editor.setCursorBufferPosition [col, line]
-          # @editor.markBufferRange([[1,1], ])
+          @highlightWordAtCursor()
           @emit @didCompleteNotification, @editor, false
         else
           atom.workspace.open(targetFilePath, {initialLine:line, initialColumn:col}).then (e) =>
+            @highlightWordAtCursor(atom.workspace.getActiveEditor())
             @emit @didCompleteNotification, @editor, false
       else # godef can't find def
         message =


    @dispatch.executor.exec(cmd, cwd, env, done, args)

  wordAtCursor: ->
    options =
      wordRegex: /[\w+\.]*/
    return @editor.getWordUnderCursor(options)

    @reset @editor
    done = (err, messages) =>
      @dispatch.resetAndDisplayMessages @editor, messages
    {word, range} = @wordAtCursor()
    @gotoDefinitionForWord word, done

  gotoDefinitionForWord: (word, callback = ->) ->
    message = {}
