增加gocode链接,修改拼写错误
This commit is contained in:
11
1.4.md
11
1.4.md
@@ -78,13 +78,13 @@ Vim是从vi发展出来的一个文本编辑器, 代码补完、编译及错误
|
|||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
3. 安装gocode
|
3. 安装[Gocode](https://github.com/nsf/gocode/)
|
||||||
|
|
||||||
go get -u github.com/nsf/gocode
|
go get -u github.com/nsf/gocode
|
||||||
|
|
||||||
gocode默认安装到$GOPATH/bin里面下面,需要把$GOPATH/bin路径设置到系统PATH里面。
|
gocode默认安装到$GOPATH/bin里面下面,需要把$GOPATH/bin路径设置到系统PATH里面。
|
||||||
|
|
||||||
4. 配置gocode
|
4. 配置[Gocode](https://github.com/nsf/gocode/)
|
||||||
|
|
||||||
~ cd $GOPATH/src/github.com/nsf/gocode/vim
|
~ cd $GOPATH/src/github.com/nsf/gocode/vim
|
||||||
~ /update.bash
|
~ /update.bash
|
||||||
@@ -96,7 +96,7 @@ Vim是从vi发展出来的一个文本编辑器, 代码补完、编译及错误
|
|||||||
propose-builtins true
|
propose-builtins true
|
||||||
lib-path "/home/border/gocode/pkg/linux_amd64"
|
lib-path "/home/border/gocode/pkg/linux_amd64"
|
||||||
|
|
||||||
5. 恭喜你,安装程序,你现在可以使用 <C-x><C-o> 体验一下开发Go的乐趣.
|
5. 恭喜你,安装完成,你现在可以使用 <C-x><C-o> 体验一下开发Go的乐趣.
|
||||||
|
|
||||||
|
|
||||||
## Emacs
|
## Emacs
|
||||||
@@ -108,13 +108,14 @@ Emacs传说中的神器,她不仅仅是一个编辑器,它是一个整合环
|
|||||||
|
|
||||||
cp $GOROOT/misc/emacs/* ~/.emacs.d/
|
cp $GOROOT/misc/emacs/* ~/.emacs.d/
|
||||||
|
|
||||||
2. 安装Gocode
|
2. 安装[Gocode](https://github.com/nsf/gocode/)
|
||||||
|
|
||||||
go get -u github.com/nsf/gocode
|
go get -u github.com/nsf/gocode
|
||||||
|
|
||||||
gocode默认安装到$GOPATH/bin里面下面,需要把$GOPATH/bin路径设置到系统PATH里面。
|
gocode默认安装到$GOPATH/bin里面下面,需要把$GOPATH/bin路径设置到系统PATH里面。
|
||||||
|
|
||||||
3. 配置gocode
|
3. 配置[Gocode](https://github.com/nsf/gocode/)
|
||||||
|
|
||||||
|
|
||||||
~ cd $GOPATH/src/github.com/nsf/gocode/emacs
|
~ cd $GOPATH/src/github.com/nsf/gocode/emacs
|
||||||
~ cp go-autocomplete.el ~/.emacs.d/
|
~ cp go-autocomplete.el ~/.emacs.d/
|
||||||
|
|||||||
Reference in New Issue
Block a user