diff options
author | Alan Pearce | 2014-07-06 11:55:48 +0100 |
---|---|---|
committer | Alan Pearce | 2014-07-06 11:55:48 +0100 |
commit | 4493b4bd771964bc228562ad47c68b07a348332c (patch) | |
tree | 31511b724d31eb2db2ee631e55d6af06393b186d /tag-emacs | |
parent | 046dfb9cf1e1690487d20091ae4545f158141fa6 (diff) | |
download | nixfiles-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.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 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 |