all repos — archive/dotfiles @ 4493b4bd771964bc228562ad47c68b07a348332c

Superseded by nixfiles

Emacs: install and configure go-oracle
Alan Pearce alan@alanpearce.co.uk
Sun, 06 Jul 2014 11:55:48 +0100
commit

4493b4bd771964bc228562ad47c68b07a348332c

parent

046dfb9cf1e1690487d20091ae4545f158141fa6

1 files changed, 5 insertions(+), 0 deletions(-)

jump to
M tag-emacs/emacs.d/init.eltag-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