From ebe6caafeaa9e5303583a8a47cef4ee1610da90d Mon Sep 17 00:00:00 2001 From: Jiang Bian Date: Thu, 23 Aug 2012 16:09:54 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0gocode=E9=93=BE=E6=8E=A5?= =?UTF-8?q?=EF=BC=8C=E4=BF=AE=E6=94=B9=E6=8B=BC=E5=86=99=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1.4.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/1.4.md b/1.4.md index e7120d37..cab2d6ff 100644 --- a/1.4.md +++ b/1.4.md @@ -78,13 +78,13 @@ Vim是从vi发展出来的一个文本编辑器, 代码补完、编译及错误 filetype plugin indent on syntax on - 3. 安装gocode + 3. 安装[Gocode](https://github.com/nsf/gocode/) go get -u github.com/nsf/gocode gocode默认安装到$GOPATH/bin里面下面,需要把$GOPATH/bin路径设置到系统PATH里面。 - 4. 配置gocode + 4. 配置[Gocode](https://github.com/nsf/gocode/) ~ cd $GOPATH/src/github.com/nsf/gocode/vim ~ /update.bash @@ -96,7 +96,7 @@ Vim是从vi发展出来的一个文本编辑器, 代码补完、编译及错误 propose-builtins true lib-path "/home/border/gocode/pkg/linux_amd64" - 5. 恭喜你,安装程序,你现在可以使用 体验一下开发Go的乐趣. + 5. 恭喜你,安装完成,你现在可以使用 体验一下开发Go的乐趣. ## Emacs @@ -108,13 +108,14 @@ Emacs传说中的神器,她不仅仅是一个编辑器,它是一个整合环 cp $GOROOT/misc/emacs/* ~/.emacs.d/ - 2. 安装Gocode + 2. 安装[Gocode](https://github.com/nsf/gocode/) go get -u github.com/nsf/gocode gocode默认安装到$GOPATH/bin里面下面,需要把$GOPATH/bin路径设置到系统PATH里面。 - 3. 配置gocode + 3. 配置[Gocode](https://github.com/nsf/gocode/) + ~ cd $GOPATH/src/github.com/nsf/gocode/emacs ~ cp go-autocomplete.el ~/.emacs.d/