Ⅰ. 插件描述
Go development plugin for Neovim written in pure GoⅡ. 基本信息
|
Ⅲ. 安装方法
使用Vundle管理器安装
在你的.vimrc下添加:Plugin 'zchee/nvim-go'
… 然后在Vim中运行以下命令:
:source %
:PluginInstall
对于Vundle版本 < 0.10.2,请用上面的Bundle替换Plugin。
使用NeoBundle管理器安装
在你的.vimrc下添加:NeoBundle 'zchee/nvim-go'
… 然后在Vim中运行以下命令:
:source %
:NeoBundleInstall
使用VimPlug管理器安装
在你的.vimrc下添加:Plug 'zchee/nvim-go'
… 然后在Vim中运行以下命令:
:source %
:PlugInstall
使用Pathogen管理器安装
在终端中运行以下命令:cd ~/.vim/bundle
git clone https://github.com/zchee/nvim-go
Ⅳ. 文档说明
# nvim-go
nvim-go is a Go development plugin for Neovim written in pure Go.
Requirements
Neovim
Installing Neovim - Neovim wiki
Go
Getting Started - The Go Programming Language
Requires Go 1.11.x or higter. or, use devel.
Install
nvim-go uses Go 1.11 Modules.
We can build nvim-go outside $GOPATH. It's still early development feature. For use it, needs to:
export GO111MODULE='on'After that, Just add following line to your init.vim:
" dein.vim
call dein#add('zchee/nvim-go', {'build': 'make'})
" NeoBundle
NeoBundle 'zchee/nvim-go', {'build': {'unix': 'make'}}
" vim-plug
Plug 'zchee/nvim-go', { 'do': 'make'}Features
[ ] First goal is fully compatible vim-go.
- See TODO.md.
- [ ] Delve debugger GUI interface.
Acknowledgement
- nvim-go is largely inspired by vim-go. Thanks @fatih and vim-go's contributors.
- Official Go client for Neovim remote plugin interface.
- The first architecture was written by @garyburd.
- Authors of vendor packages.
- The Go Authors.
Donation
Please donate to the location in need of donations in your country.
Peace on Earth.
License
nvim-go is released under the BSD 3-Clause License.
<!-- badge links -->