Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit b023e13

Browse files
committedMay 21, 2022
update documentation for installing tools
Update documentation to recommend go install over go get.
1 parent e9d7ff3 commit b023e13

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ for popular package managers:
6363

6464
You will also need to install all the necessary binaries. vim-go makes it easy
6565
to install all of them by providing a command, `:GoInstallBinaries`, which will
66-
`go get` all the required binaries.
66+
`go install` all the required binaries.
6767

6868
Check out the Install section in [the documentation](doc/vim-go.txt) for more
6969
detailed instructions (`:help go-install`).

‎doc/vim-go.txt

+4-4
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,8 @@ manager's install command.
122122

123123
You will also need to install all the necessary binaries. vim-go makes it easy
124124
to install all of them by providing a command, |:GoInstallBinaries|, to
125-
`go get` all the required binaries. The binaries will be installed to $GOBIN
126-
or $GOPATH/bin (default: $HOME/go/bin). It requires `git`.
125+
`go install` all the required binaries. The binaries will be installed to
126+
$GOBIN or $GOPATH/bin (default: $HOME/go/bin). It requires `git`.
127127

128128
Depending on your installation method, you may have to generate the plugin's
129129
|:helptags| manually (e.g. `:helptags ALL`).
@@ -2748,9 +2748,9 @@ If you see errors like this:
27482748
<
27492749
that means your local Go setup is broken or the remote website is down. For
27502750
example sometimes code.google.com times out. To test, just execute a simple
2751-
`go get`:
2751+
`go install`:
27522752
>
2753-
go get golang.org/x/tools/cmd/goimports
2753+
go install golang.org/x/tools/cmd/goimports@latest
27542754
<
27552755
You'll see a more detailed error. If this works, vim-go will work too.
27562756

0 commit comments

Comments
 (0)
Please sign in to comment.