I
I
inbider2016-07-10 01:59:12
vim
inbider, 2016-07-10 01:59:12

Set up Vim as development environment for GO (Golang)?

I categorically welcome everyone!)
Gentlemen, I'm trying to make friends with the Vim editor in order to use it as a development environment for Golang, but so far not too successful.
I use vim-plug plugin manager:

call plug#begin('~/.vim/plugged')
    Plug 'scrooloose/nerdtree'
    Plug 'fatih/vim-go'
call plug#end()

Plugins are downloaded, NerdTree - after a little setup it works fine, but Vim-Go does not want to (After the command :GoInstallBinaries the installation process starts, but warnings fly out that some components like nsf / gocode and a whole cloud of others were not found.
Like this Is it correct to install and configure the plugin? (if possible step by step)

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander Semchenko, 2016-07-10
@0xcffaedfe

farazdagi.com/blog/2015/vim-as-golang-ide
There is nothing difficult to type in Google: vim + go

V
Vitaly, 2016-07-10
@vt4a2h

Alexander Semchenko wrote everything to you absolutely correctly. Learn to read. You yourself write:
At the same time, in the install section of the plugin it is clearly written:
If the :GoInstallBinaries command does not install something, then you need to figure out why. There can be a lot of options here, for example, there are no write rights, git is not installed, etc. I think that no one will write to you more than in the install section. In the end, the code is open, study / understand.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question