summary refs log tree commit diff stats
path: root/tag-emacs
diff options
context:
space:
mode:
authorAlan Pearce2014-07-06 11:55:48 +0100
committerAlan Pearce2014-07-06 11:55:48 +0100
commit4493b4bd771964bc228562ad47c68b07a348332c (patch)
tree31511b724d31eb2db2ee631e55d6af06393b186d /tag-emacs
parent046dfb9cf1e1690487d20091ae4545f158141fa6 (diff)
downloadnixfiles-4493b4bd771964bc228562ad47c68b07a348332c.tar.lz
nixfiles-4493b4bd771964bc228562ad47c68b07a348332c.tar.zst
nixfiles-4493b4bd771964bc228562ad47c68b07a348332c.zip
Emacs: install and configure go-oracle
Diffstat (limited to 'tag-emacs')
-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