diff options
author | Alan Pearce | 2014-05-24 20:51:48 +0100 |
---|---|---|
committer | Alan Pearce | 2014-05-24 20:51:48 +0100 |
commit | ebd29a72ca0d8cc6d543c88f3503fcd690d511c9 (patch) | |
tree | 79a460357bd652e8c866c62a85b81706382ebd80 /tag-emacs/emacs.d/init.el | |
parent | 194dac8613273ce6a7dd8cea784507d5677fe162 (diff) | |
download | nixfiles-ebd29a72ca0d8cc6d543c88f3503fcd690d511c9.tar.lz nixfiles-ebd29a72ca0d8cc6d543c88f3503fcd690d511c9.tar.zst nixfiles-ebd29a72ca0d8cc6d543c88f3503fcd690d511c9.zip |
Emacs: add go-projectile for go-based projects
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-rw-r--r-- | tag-emacs/emacs.d/init.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el index 0afd5b2e..f9a098bd 100644 --- a/tag-emacs/emacs.d/init.el +++ b/tag-emacs/emacs.d/init.el @@ -605,6 +605,11 @@ :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)) |