farazdagi / vim-go-ide

Ready to use, fully configured for Go development.
576 stars 290 forks source link

Runtime error fresh install ubuntu 16.04 #19

Closed andrewcheny closed 6 years ago

andrewcheny commented 7 years ago

I installed vim after run the install script

vim -u ~/.vimrc.go Error detected while processing /home/andrew/.vim_go_runtime/vimrc/plugins.vim: line 2: E117: Unknown function: pathogen#infect line 3: E117: Unknown function: pathogen#infect line 4: E117: Unknown function: pathogen#helptags Press ENTER or type command to continue

ghost commented 7 years ago

same here - unusable like this

cdmoye commented 7 years ago

Do you guys have pathogen installed? If not, you need it.

ghost commented 7 years ago

Yes I had it installed. Meantime I got an go with vi environment running without vim-go-ide. I think the point is that you have to install and ->> configure. Purely install it does not help. So a better hint there might be helpfull here.

lylex commented 7 years ago

Seems like that pathogen is not well loaded. Try to add the following at the beginning of /home/andrew/.vim_go_runtime/vimrc/plugins.vim:

set nocp set rtp+=~/.vim/autoload/pathogen.vim

ps23 commented 6 years ago

@farazdagi This can be closed now, README clearly outlines the need to install pathogen into the standard vim setup: https://github.com/farazdagi/vim-go-ide#12-install-pathogen

farazdagi commented 6 years ago

That's right, thanks.