summary refs log tree commit diff stats
path: root/tag-emacs/emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'tag-emacs/emacs.d/init.el')
-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 6b13290a..55dd992a 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