This plugin adds Go language support for Vim, with the following main features. Look up documentation with :GoDoc or :GoDocBrowser, easily import packages via :GoImport, remove them via :GoDrop. Precise type-safe renaming of identifiers with :GoRename. See which code is covered by tests with :GoCoverage. Add or remove tags on struct fields with :GoAddTags and :GoRemoveTags. Call golangci-lint with :GoMetaLinter to invoke all possible linters (golint, vet, errcheck, deadcode, etc.) and put the result in the quickfix or location list. Lint your code with :GoLint, run your code through :GoVet to catch static errors, or make sure errors are checked with :GoErrCheck. Advanced source analysis tools utilizing guru, such as :GoImplements, :GoCallees, and :GoReferrers, and many more! Please see doc/vim-go.txt for more information. The gopls instance can be shared with other Vim plugins. Vim-go's use of gopls can be disabled.

Features

  • Compile your package with :GoBuild, install it with :GoInstall or test it with :GoTest
  • Quickly execute your current file(s) with :GoRun
  • Improved syntax highlighting and folding
  • Debug programs with integrated delve support with :GoDebugStart
  • Completion and many other features support via gopls
  • Formatting on save keeps the cursor position and undo history

Project Activity

See All Activity >

License

Creative Commons Attribution Non-Commercial License V2.0

Follow vim-go

vim-go Web Site

Other Useful Business Software
$300 in Free Credit Towards Top Cloud Services Icon
$300 in Free Credit Towards Top Cloud Services

Build VMs, containers, AI, databases, storage—all in one place.

Start your project in minutes. After credits run out, 20+ products include free monthly usage. Only pay when you're ready to scale.
Get Started
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of vim-go!

Additional Project Details

Registered

2021-04-26