 (add-to-list 'custom-theme-load-path "/external_src/color-theme-heroku")
 ;; (color-theme-heroku)
 
+;; go stuff
 (add-to-list 'load-path "/mnt/external/clones/go/misc/emacs/")
 (add-to-list 'load-path "~/rebuild_src/go/misc/emacs/")
 


(defvar my-packages '(starter-kit
                      starter-kit-lisp
                      markdown-mode
                      coffee-mode
                      js2-mode

(require 'go-autocomplete)
(require 'auto-complete-config)
(ac-config-default)

(defun my-go-mode-hook ()
  (add-hook 'before-save-hook 'gofmt-before-save)
  (if (not (string-match "go" compile-command))
      (set (make-local-variable 'compile-command)
           ;; "go vet && go test -cover -v && go build -v"))
           "go vet && go build -v"))
  (setq tab-width 8 indent-tabs-mode 1)
  (local-set-key (kbd "M-.") 'godef-jump))

(add-hook 'go-mode-hook 'my-go-mode-hook)
