Vim-go: Problem with autocomplete

Created on 15 Sep 2017  路  4Comments  路  Source: fatih/vim-go

Autocomplete doesn't properly work for me! when i press <C-x><C-o> just receive a row with value of PANIC and not more.

  1. Install fatih/vim-go and Shougo/neocomplete.vim
  2. Install gocode
  • vim version: latest
  • vim-go version: latest
  • go version: 1.9
  • OS: Linux
waiting-for-info

Most helpful comment

for anyone coming across this, see https://github.com/joefitzgerald/go-plus/issues/433#issuecomment-223325100

All 4 comments

Does :messages say anything useful?

Maybe try restarting gocode? See gocode status, gocode drop-cache, and gocode close (and there's always kill of course).

This problem is relevant to gocode

I managed to rectify this by reinstalling the gocode binary.

rm $GOBIN/gocode

then run GoInstallBinaries (in vim) or manually reinstall gocode. Make sure that you stop any stale gocode processes that may be running.

for anyone coming across this, see https://github.com/joefitzgerald/go-plus/issues/433#issuecomment-223325100

Was this page helpful?
0 / 5 - 0 ratings

Related issues

surest picture surest  路  3Comments

cassiobotaro picture cassiobotaro  路  3Comments

Michael-F-Ellis picture Michael-F-Ellis  路  3Comments

joeblubaugh picture joeblubaugh  路  3Comments

johnzeng picture johnzeng  路  3Comments