Reputation: 161
I use vim-go plugin and it can autocompletion the build in framework such as "fmt", "os" etc. But cannot completion third party framework.
Upvotes: 0
Views: 197
Reputation: 161
Oh... It's my fault, I didn't config the gocode
➜ ~ gocode set lib-path "$GOPATH/pkg/darwin_amd64"
lib-path "$GOPATH/pkg/darwin_amd64"
➜ ~
➜ ~ gocode set
propose-builtins true
lib-path "$GOPATH/pkg/darwin_amd64"
autobuild true
force-debug-output ""
package-lookup-mode "go"
➜ ~
Now, it works well!
Upvotes: 1