summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2014-07-06 11:55:48 +0100
committerAlan Pearce2014-07-06 11:55:48 +0100
commit4493b4bd771964bc228562ad47c68b07a348332c (patch)
tree31511b724d31eb2db2ee631e55d6af06393b186d
parent046dfb9cf1e1690487d20091ae4545f158141fa6 (diff)
downloaddotfiles-4493b4bd771964bc228562ad47c68b07a348332c.tar.lz
dotfiles-4493b4bd771964bc228562ad47c68b07a348332c.tar.zst
dotfiles-4493b4bd771964bc228562ad47c68b07a348332c.zip
Emacs: install and configure go-oracle
-rw-r--r--tag-emacs/emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/tag-emacs/emacs.d/init.el b/tag-emacs/emacs.d/init.el
index 6b13290..55dd992 100644
--- a/tag-emacs/emacs.d/init.el
+++ b/tag-emacs/emacs.d/init.el
@@ -608,6 +608,11 @@
 (req-package go-mode
   :mode (("\\.go\\'" . go-mode)))
 
+(req-package oracle
+  :load-path ,(expand-file-name "src/code.google.com/p/go.tools/cmd/oracle/oracle.el" (getenv "GOPATH"))
+  :init (progn
+          (add-hook 'go-mode-hook #'go-oracle-mode)))
+
 (req-package company-go
   :require go-mode
   :config (progn