From c5b5d50056415dced11550536f056cc238c59c34 Mon Sep 17 00:00:00 2001 From: Wang Ruochen Date: Tue, 19 Feb 2019 17:03:16 +0000 Subject: [PATCH] update go's part in full installation guide --- README.md | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index d35070a6..eb832f79 100644 --- a/README.md +++ b/README.md @@ -657,7 +657,14 @@ process. PATH][add-msbuild-to-path]. - Go support: install [Go][go-install] and add it to your path. Navigate to - `YouCompleteMe/third_party/ycmd/third_party/gocode` and run `go build`. + `YouCompleteMe/third_party/ycmd/third_party/go` and in **both** + `src/github.com/mdempsky/gocode` and `src/github.com/rogpeppe/godef` run + + GOPATH=$(realpath ../../../..) go build + + On Windows, first set `GOPATH` to the absolute path of + `YouCompleteMe/third_party/ycmd/third_party/go` then run `go build` in the two + directories above. - JavaScript and TypeScript support: install [Node.js and npm][npm-install], navigate to `YouCompleteMe/third_party/ycmd` and run