Commit 3d940552 authored by Alex Payne's avatar Alex Payne

only load after go-mode

parent d4b3e99d
......@@ -3,6 +3,7 @@
:type go
:pkgname "github.com/nsf/gocode"
:depends (company-mode)
:features (go-company)
:load-path ("src/github.com/nsf/gocode/emacs-company")
:post-init (add-to-list 'exec-path (concat default-directory "bin")))
:post-init (progn
(add-hook 'go-mode-hook (require 'company-go))
(add-to-list 'exec-path (concat default-directory "bin")))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment