 (defvar go-guru--hl-identifier-timer
   nil
   "The global timer used for highlighting identifiers.")
+
+(defvar go-guru--last-enclosing
+  nil
+  "The remaining enclosing regions of the previous go-expand-region invocation.")
 
 ;; Extend go-mode-map.
 (let ((m (define-prefix-command 'go-guru-map)))

;; TODO(dominikh): a future feature may be to cycle through all uses
;; of an identifier.

(provide 'go-guru)

;;; go-guru.el ends here

  (define-key m "s" #'go-guru-callstack) ; s for stack
  (define-key m "e" #'go-guru-whicherrs) ; e for error
  (define-key m "<" #'go-guru-callers)
  (define-key m ">" #'go-guru-callees)
  (define-key m "x" #'go-guru-expand-region)) ;; x for expand

(define-key go-mode-map (kbd "C-c C-o") #'go-guru-map)

