Emacs: add go-projectile for go-based projects
Alan Pearce alan@alanpearce.co.uk
Sat, 24 May 2014 20:51:48 +0100
2 files changed, 6 insertions(+), 0 deletions(-)
M tag-emacs/emacs.d/Cask → tag-emacs/emacs.d/Cask
@@ -32,6 +32,7 @@ (depends-on "geiser") (depends-on "ggtags") (depends-on "go-eldoc") (depends-on "go-mode") +(depends-on "go-projectile") (depends-on "goto-chg") (depends-on "haskell-mode") (depends-on "helm")
M tag-emacs/emacs.d/init.el → tag-emacs/emacs.d/init.el
@@ -605,6 +605,11 @@ :require go-mode :config (progn (add-hook 'go-mode-hook #'go-eldoc-setup))) +(req-package go-projectile + :require (go-mode go-eldoc projectile) + :config (progn + (setq go-projectile-switch-gopath 'maybe))) + (req-package auto-compile :init (add-hook 'emacs-lisp-mode-hook #'auto-compile-on-save-mode))