|
|
7 年之前 | |
|---|---|---|
| .. | ||
| .github | 7 年之前 | |
| assets | 7 年之前 | |
| autoload | 7 年之前 | |
| compiler | 7 年之前 | |
| doc | 7 年之前 | |
| ftdetect | 7 年之前 | |
| ftplugin | 7 年之前 | |
| gosnippets | 7 年之前 | |
| indent | 7 年之前 | |
| plugin | 7 年之前 | |
| rplugin | 7 年之前 | |
| scripts | 7 年之前 | |
| syntax | 7 年之前 | |
| templates | 7 年之前 | |
| test | 7 年之前 | |
| .coveragerc | 7 年之前 | |
| .dockerignore | 7 年之前 | |
| .editorconfig | 7 年之前 | |
| .gitignore | 7 年之前 | |
| .travis.yml | 7 年之前 | |
| .vintrc.yaml | 7 年之前 | |
| CHANGELOG.md | 7 年之前 | |
| Dockerfile | 7 年之前 | |
| LICENSE | 7 年之前 | |
| Makefile | 7 年之前 | |
| README.md | 7 年之前 | |
| addon-info.json | 7 年之前 | |
This plugin adds Go language support for Vim, with the following main features:
:GoBuild, install it with :GoInstall or test it
with :GoTest. Run a single tests with :GoTestFunc).:GoRun.delve support with :GoDebugStart.gocode.gofmt or goimports on save keeps the cursor position and undo history.:GoDef.:GoDoc or :GoDocBrowser.:GoImport, remove them via :GoDrop.:GoRename.:GoCoverage.:GoAddTags and :GoRemoveTags.gometalinter with :GoMetaLinter to invoke all possible linters
(golint, vet, errcheck, deadcode, etc.) and put the result in the
quickfix or location list.:GoLint, run your code through :GoVet to catch static
errors, or make sure errors are checked with :GoErrCheck.guru, such as :GoImplements,
:GoCallees, and :GoReferrers.The latest stable release is the recommended version to use. If you choose to use the master branch instead, please do so with caution; it is a development branch.
vim-go follows the standard runtime path structure. Below are some helper lines for popular package managers:
git clone https://github.com/fatih/vim-go.git ~/.vim/pack/plugins/start/vim-gogit clone https://github.com/fatih/vim-go.git ~/.vim/bundle/vim-goPlug 'fatih/vim-go'You will also need to install all the necessary binaries. vim-go makes it easy
to install all of them by providing a command, :GoInstallBinaries, which will
go get all the required binaries.
Check out the Install section in the documentation for more
detailed instructions (:help go-install).
The full documentation can be found at doc/vim-go.txt. You can
display it from within Vim with :help vim-go.
Depending on your installation method, you may have to generate the plugin's
help tags
manually (e.g. :helptags ALL).
We also have an official vim-go tutorial.
The BSD 3-Clause License - see LICENSE for more details