fatih / vim-go

Go development plugin for Vim
https://www.patreon.com/bhcleek
Other
16.01k stars 1.45k forks source link

Can't get install to work #1869

Closed ahraber closed 6 years ago

ahraber commented 6 years ago

What did you do? (required. The issue will be closed when not provided.)

installed plugin via several methods, vim8 plugin, pathogen, zip, etc. essentially a fresh install, no other custom vim plugins before this.

What did you expect to happen?

Propper installation.

What happened instead?

Didn't install properly. I can use :help vim-go and :GoUpdateBinaries and :GoPath and :GoInstallBinaries . All the other commands I'm expecting to use don't work.

:scriptnames:

  1: /etc/vimrc                                                                                                                                                  
  2: /usr/share/vim/vimfiles/archlinux.vim
  3: /usr/share/vim/vim81/defaults.vim
  4: /usr/share/vim/vim81/syntax/syntax.vim
  5: /usr/share/vim/vim81/syntax/synload.vim
  6: /usr/share/vim/vim81/syntax/syncolor.vim
  7: /usr/share/vim/vim81/filetype.vim
  8: /usr/share/vim/vimfiles/ftdetect/PKGBUILD.vim
  9: /usr/share/vim/vimfiles/ftdetect/conkyrc.vim
 10: /usr/share/vim/vimfiles/ftdetect/gofiletype.vim
 11: /usr/share/vim/vim81/ftplugin.vim
 12: /usr/share/vim/vim81/indent.vim
 13: /usr/share/vim/vimfiles/plugin/fzf.vim
 14: /usr/share/vim/vimfiles/plugin/go.vim
 15: /usr/share/vim/vim81/plugin/getscriptPlugin.vim
 16: /usr/share/vim/vim81/plugin/gzip.vim
 17: /usr/share/vim/vim81/plugin/logiPat.vim
 18: /usr/share/vim/vim81/plugin/manpager.vim
 19: /usr/share/vim/vim81/plugin/matchparen.vim
 20: /usr/share/vim/vim81/plugin/netrwPlugin.vim
 21: /usr/share/vim/vim81/plugin/rrhelper.vim
 22: /usr/share/vim/vim81/plugin/spellfile.vim
 23: /usr/share/vim/vim81/plugin/tarPlugin.vim
 24: /usr/share/vim/vim81/plugin/tohtml.vim
 25: /usr/share/vim/vim81/plugin/vimballPlugin.vim
 26: /usr/share/vim/vim81/plugin/zipPlugin.vim
 27: ~/.vim/pack/plugins/start/vim-go/plugin/go.vim
 28: ~/.vim/pack/plugins/start/vim-go/ftdetect/gofiletype.vim

Configuration (MUST fill this out):

ahraber commented 6 years ago

Peculiar update -- when I type :help go and tab complete, I see all of the functions. I just cannot execute them from within go. When I try :GoBuild for example, it returns: GoBuild: Not an editor command.

ahraber commented 6 years ago

Figured it out, I cleaned everything up and reinstalled. Been working w/ it for about 3 hours and no problems. :+1:

ghost commented 5 years ago

Figured it out, I cleaned everything up and reinstalled. Been working w/ it for about 3 hours and no problems. 👍

I'm having the same issue, I tried to delete the ~/.vim and reinstall the plugin but without success. What do you mean by clean everything?
How do you install the plugin? To install, I ran these lines.

git clone https://github.com/fatih/vim-go.git  ~/.vim/pack/plugins/start/vim-go
git clone https://github.com/fatih/vim-go.git ~/.vim/bundle/vim-go

Thank you.